public enum SharingMode extends Enum<SharingMode>
Enum Constant and Description |
---|
COLLABORATIVE |
COMMON |
CONFIDENTIAL |
PRIVATE |
PUBLIC |
Modifier and Type | Field and Description |
---|---|
private static Map<String,SharingMode> |
sharingModes |
private String |
uri |
Modifier and Type | Method and Description |
---|---|
static SharingMode |
fromString(String uri) |
String |
getUri() |
private void |
put(String uri,
SharingMode sharingMode) |
static SharingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharingMode PRIVATE
public static final SharingMode CONFIDENTIAL
public static final SharingMode COLLABORATIVE
public static final SharingMode PUBLIC
public static final SharingMode COMMON
private static Map<String,SharingMode> sharingModes
public static SharingMode[] values()
for (SharingMode c : SharingMode.values()) System.out.println(c);
public static SharingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SharingMode fromString(String uri)
private void put(String uri, SharingMode sharingMode)
Copyright © 2018. All Rights Reserved.