Package adams.flow.standalone
Enum ExternalFlow.ExecutionType
- java.lang.Object
-
- java.lang.Enum<ExternalFlow.ExecutionType>
-
- adams.flow.standalone.ExternalFlow.ExecutionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalFlow.ExecutionType>
- Enclosing class:
- ExternalFlow
public static enum ExternalFlow.ExecutionType extends Enum<ExternalFlow.ExecutionType>
Determines how the flow is executed.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNCHRONOUS
launch flow and don't wait to finish.SYNCHRONOUS
wait for flow to finish.SYNCHRONOUS_IMMEDIATE_CLEANUP
wait for flow to finish and cleanup.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalFlow.ExecutionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalFlow.ExecutionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYNCHRONOUS
public static final ExternalFlow.ExecutionType SYNCHRONOUS
wait for flow to finish.
-
SYNCHRONOUS_IMMEDIATE_CLEANUP
public static final ExternalFlow.ExecutionType SYNCHRONOUS_IMMEDIATE_CLEANUP
wait for flow to finish and cleanup.
-
ASYNCHRONOUS
public static final ExternalFlow.ExecutionType ASYNCHRONOUS
launch flow and don't wait to finish.
-
-
Method Detail
-
values
public static ExternalFlow.ExecutionType[] 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 (ExternalFlow.ExecutionType c : ExternalFlow.ExecutionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalFlow.ExecutionType 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
-
-