Package com.calebleavell.jatui.core
Enum Class DirectedGraphNode.PropertyUpdateFlag
java.lang.Object
java.lang.Enum<DirectedGraphNode.PropertyUpdateFlag>
com.calebleavell.jatui.core.DirectedGraphNode.PropertyUpdateFlag
- All Implemented Interfaces:
Serializable,Comparable<DirectedGraphNode.PropertyUpdateFlag>,Constable
- Enclosing interface:
DirectedGraphNode<P extends Enum<?>,A extends DirectedGraphNode<P, A, ?>, T extends DirectedGraphNode<P, A, T>>
public static enum DirectedGraphNode.PropertyUpdateFlag
extends Enum<DirectedGraphNode.PropertyUpdateFlag>
Specifies behavior for updating a property of this node.
When a recursive call to update a property is called, the flag for the property is checked.
The flags are:
- UPDATE: Update this node and continue the recursion
- UPDATE_THEN_HALT: Update this node but don't continue the recursion
- SKIP: Don't update this node but continue the recursion
- HALT: Don't update this node and don't continue the recursion
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDon't update this node and don't continue the recursionDon't update this node but continue the recursionUpdate this node and continue the recursionUpdate this node but don't continue the recursion -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DirectedGraphNode.PropertyUpdateFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE
Update this node and continue the recursion -
UPDATE_THEN_HALT
Update this node but don't continue the recursion -
SKIP
Don't update this node but continue the recursion -
HALT
Don't update this node and don't continue the recursion
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-