public static enum AbstractNode.NodeFlags extends Enum<AbstractNode.NodeFlags>
| Enum Constant and Description |
|---|
CHILDREN_LOADED
All children are loaded from the cache loader if this flag is present.
|
CHILDREN_MODIFIED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has added or removed children in a workspace.
|
CREATED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has been created in a workspace.
|
DATA_LOADED
Data is loaded from the cache loader if this flag is present.
|
LOCK_FOR_CHILD_INSERT_REMOVE
Node is write-locked when children are added or removed if this flag is enabled.
|
MODIFIED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has been modified in a workspace.
|
REMOVED
Node has been removed.
|
RESIDENT
NOde is resident and excluded from evictions
|
RESURRECTED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has been resurrected in a workspace.
|
VALID
Node is valid if this flag is present.
|
VERSIONING_IMPLICIT
Specific to Optimistic Locking Workspace nodes - set if an implicit version is associated with this node.
|
| Modifier and Type | Field and Description |
|---|---|
protected short |
mask |
| Modifier and Type | Method and Description |
|---|---|
static AbstractNode.NodeFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractNode.NodeFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractNode.NodeFlags CHILDREN_LOADED
public static final AbstractNode.NodeFlags DATA_LOADED
public static final AbstractNode.NodeFlags LOCK_FOR_CHILD_INSERT_REMOVE
public static final AbstractNode.NodeFlags VALID
public static final AbstractNode.NodeFlags REMOVED
public static final AbstractNode.NodeFlags RESIDENT
public static final AbstractNode.NodeFlags MODIFIED_IN_WORKSPACE
public static final AbstractNode.NodeFlags CREATED_IN_WORKSPACE
public static final AbstractNode.NodeFlags CHILDREN_MODIFIED_IN_WORKSPACE
public static final AbstractNode.NodeFlags VERSIONING_IMPLICIT
public static final AbstractNode.NodeFlags RESURRECTED_IN_WORKSPACE
public static AbstractNode.NodeFlags[] values()
for (AbstractNode.NodeFlags c : AbstractNode.NodeFlags.values()) System.out.println(c);
public static AbstractNode.NodeFlags 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 © 2012 JBoss, a division of Red Hat. All Rights Reserved.