public static enum DocumentTreeEvent.Type extends java.lang.Enum<DocumentTreeEvent.Type>
Enum Constant and Description |
---|
CREATED
Signifies node being created.
|
DELETED
Signifies an existing node being deleted.
|
TRANSACTION_END
Signifies end of Transaction events.
|
TRANSACTION_START
Signifies beginning of Transaction events.
|
UPDATED
Signifies the value of an existing node being updated.
|
Modifier and Type | Method and Description |
---|---|
static DocumentTreeEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentTreeEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentTreeEvent.Type CREATED
public static final DocumentTreeEvent.Type UPDATED
public static final DocumentTreeEvent.Type DELETED
public static final DocumentTreeEvent.Type TRANSACTION_START
DocumentTreeEvent.path()
will contain
single element representing TransactionId.public static final DocumentTreeEvent.Type TRANSACTION_END
DocumentTreeEvent.path()
will contain
single element representing TransactionId.public static DocumentTreeEvent.Type[] values()
for (DocumentTreeEvent.Type c : DocumentTreeEvent.Type.values()) System.out.println(c);
public static DocumentTreeEvent.Type 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 null