Enum ChooseStep.ChooseSemantics
- java.lang.Object
- 
- java.lang.Enum<ChooseStep.ChooseSemantics>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.branch.ChooseStep.ChooseSemantics
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<ChooseStep.ChooseSemantics>
 - Enclosing class:
- ChooseStep<S,E,M>
 
 public static enum ChooseStep.ChooseSemantics extends Enum<ChooseStep.ChooseSemantics> Defines the manner in which theChooseStepis configured to work.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ChooseStep.ChooseSemanticsvalueOf(String name)Returns the enum constant of this type with the specified name.static ChooseStep.ChooseSemantics[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
IF_THENpublic static final ChooseStep.ChooseSemantics IF_THEN Choose is using if-then-else semantics.
 - 
SWITCHpublic static final ChooseStep.ChooseSemantics SWITCH Choose is using switch semantics.
 
- 
 - 
Method Detail- 
valuespublic static ChooseStep.ChooseSemantics[] 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 (ChooseStep.ChooseSemantics c : ChooseStep.ChooseSemantics.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ChooseStep.ChooseSemantics valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-