Package io.serverlessworkflow.api.states
Enum ParallelState.CompletionType
- java.lang.Object
-
- java.lang.Enum<ParallelState.CompletionType>
-
- io.serverlessworkflow.api.states.ParallelState.CompletionType
-
- All Implemented Interfaces:
Serializable,Comparable<ParallelState.CompletionType>
- Enclosing class:
- ParallelState
public static enum ParallelState.CompletionType extends Enum<ParallelState.CompletionType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParallelState.CompletionTypefromValue(String value)StringtoString()Stringvalue()static ParallelState.CompletionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ParallelState.CompletionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_OF
public static final ParallelState.CompletionType ALL_OF
-
AT_LEAST
public static final ParallelState.CompletionType AT_LEAST
-
-
Method Detail
-
values
public static ParallelState.CompletionType[] 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 (ParallelState.CompletionType c : ParallelState.CompletionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParallelState.CompletionType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ParallelState.CompletionType>
-
value
public String value()
-
fromValue
public static ParallelState.CompletionType fromValue(String value)
-
-