public static enum Repository.OperationType extends Enum<Repository.OperationType>
Enum Constant and Description |
---|
CHILD_OPERATION
Can add/remove children from a node but
cannot modify the node itself
|
MODIFY_OPERATION
Can modify a node's attributes
|
READ_OPERATION
Can read a node's attributes and get its children
|
REMOVE_OPERATION
Can a node be removed
|
Modifier and Type | Method and Description |
---|---|
static Repository.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Repository.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Repository.OperationType READ_OPERATION
public static final Repository.OperationType CHILD_OPERATION
public static final Repository.OperationType MODIFY_OPERATION
public static final Repository.OperationType REMOVE_OPERATION
public static Repository.OperationType[] values()
for (Repository.OperationType c : Repository.OperationType.values()) System.out.println(c);
public static Repository.OperationType 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 nullCopyright © 2013–2019. All rights reserved.