Package adams.event
Enum FlowPauseStateEvent.Type
- java.lang.Object
-
- java.lang.Enum<FlowPauseStateEvent.Type>
-
- adams.event.FlowPauseStateEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<FlowPauseStateEvent.Type>
- Enclosing class:
- FlowPauseStateEvent
public static enum FlowPauseStateEvent.Type extends Enum<FlowPauseStateEvent.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 FlowPauseStateEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlowPauseStateEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAUSED
public static final FlowPauseStateEvent.Type PAUSED
flow was paused.
-
RESUMED
public static final FlowPauseStateEvent.Type RESUMED
flow was resumed.
-
-
Method Detail
-
values
public static FlowPauseStateEvent.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 (FlowPauseStateEvent.Type c : FlowPauseStateEvent.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 FlowPauseStateEvent.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
-
-