Package adams.event
Enum FlowSetupStateEvent.Type
- java.lang.Object
-
- java.lang.Enum<FlowSetupStateEvent.Type>
-
- adams.event.FlowSetupStateEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<FlowSetupStateEvent.Type>
- Enclosing class:
- FlowSetupStateEvent
public static enum FlowSetupStateEvent.Type extends Enum<FlowSetupStateEvent.Type>
The type of event.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlowSetupStateEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlowSetupStateEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODIFIED
public static final FlowSetupStateEvent.Type MODIFIED
flow was modified.
-
STARTED
public static final FlowSetupStateEvent.Type STARTED
flow started.
-
FINISHED
public static final FlowSetupStateEvent.Type FINISHED
successfully finished.
-
ERROR
public static final FlowSetupStateEvent.Type ERROR
an error occurred.
-
-
Method Detail
-
values
public static FlowSetupStateEvent.Type[] 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 (FlowSetupStateEvent.Type c : FlowSetupStateEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlowSetupStateEvent.Type 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
-
-