Enum ProcessConstants.EdgeState
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.EdgeState>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.EdgeState
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.EdgeState>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.EdgeState extends Enum<ProcessConstants.EdgeState>
The edge states.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ProcessConstants.EdgeState
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.EdgeState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.EdgeState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ES_TRUE
public static final ProcessConstants.EdgeState ES_TRUE
The edge has been selected.
-
ES_FALSE
public static final ProcessConstants.EdgeState ES_FALSE
The edge has been deselected.
-
ES_NS
public static final ProcessConstants.EdgeState ES_NS
The edge has no state yet.
-
-
Method Detail
-
values
public static ProcessConstants.EdgeState[] 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 (ProcessConstants.EdgeState c : ProcessConstants.EdgeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessConstants.EdgeState 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 nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
valueOf
public static ProcessConstants.EdgeState valueOf(int code)
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:
code
- 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 nameNullPointerException
- if the argument is null
-
-