Enum Constant and Description |
---|
DELETE
Allows a credential to be deleted.
|
READ
Allows the value of a credential to be read.
|
READ_ACL
Allows the permissions of a credential to be read.
|
WRITE
Allows the value of a credential to be updated.
|
WRITE_ACL
Allows the permissions of a credential to be updated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
operation()
Get the value of the operation.
|
java.lang.String |
toString() |
static Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation READ
public static final Operation WRITE
public static final Operation DELETE
public static final Operation READ_ACL
public static final Operation WRITE_ACL
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation 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 operation()
public java.lang.String toString()
toString
in class java.lang.Enum<Operation>