Enum DAGVisitResult
- java.lang.Object
-
- java.lang.Enum<DAGVisitResult>
-
- org.infrastructurebuilder.util.dag.DAGVisitResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DAGVisitResult>
public enum DAGVisitResult extends java.lang.Enum<DAGVisitResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUESKIP_SIBLINGSSKIP_SUBTREETERMINATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DAGVisitResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DAGVisitResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final DAGVisitResult CONTINUE
-
SKIP_SIBLINGS
public static final DAGVisitResult SKIP_SIBLINGS
-
SKIP_SUBTREE
public static final DAGVisitResult SKIP_SUBTREE
-
TERMINATE
public static final DAGVisitResult TERMINATE
-
-
Method Detail
-
values
public static DAGVisitResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DAGVisitResult c : DAGVisitResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DAGVisitResult valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-