public static enum SaveOptions.PERMISSION extends java.lang.Enum<SaveOptions.PERMISSION> implements CASActionOptions.EnumValue
Enum Constant and Description |
---|
GROUPREAD |
GROUPWRITE |
GROUPWRITEPUBLICREAD |
PRIVATE |
PUBLICREAD |
PUBLICWRITE |
Modifier and Type | Method and Description |
---|---|
static SaveOptions.PERMISSION |
getByValue(java.lang.String value) |
java.lang.String |
getValue() |
static SaveOptions.PERMISSION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaveOptions.PERMISSION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveOptions.PERMISSION GROUPREAD
public static final SaveOptions.PERMISSION GROUPWRITE
public static final SaveOptions.PERMISSION GROUPWRITEPUBLICREAD
public static final SaveOptions.PERMISSION PRIVATE
public static final SaveOptions.PERMISSION PUBLICREAD
public static final SaveOptions.PERMISSION PUBLICWRITE
public static SaveOptions.PERMISSION[] values()
for (SaveOptions.PERMISSION c : SaveOptions.PERMISSION.values()) System.out.println(c);
public static SaveOptions.PERMISSION valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
getValue
in interface CASActionOptions.EnumValue
public static SaveOptions.PERMISSION getByValue(java.lang.String value)