Package jmri.jmrit.logixng.expressions
Enum ExpressionDispatcher.DispatcherState
- java.lang.Object
-
- java.lang.Enum<ExpressionDispatcher.DispatcherState>
-
- jmri.jmrit.logixng.expressions.ExpressionDispatcher.DispatcherState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionDispatcher.DispatcherState>
- Enclosing class:
- ExpressionDispatcher
public static enum ExpressionDispatcher.DispatcherState extends java.lang.Enum<ExpressionDispatcher.DispatcherState>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getType()
java.lang.String
toString()
static ExpressionDispatcher.DispatcherState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionDispatcher.DispatcherState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Mode
public static final ExpressionDispatcher.DispatcherState Mode
-
Automatic
public static final ExpressionDispatcher.DispatcherState Automatic
-
Dispatched
public static final ExpressionDispatcher.DispatcherState Dispatched
-
Manual
public static final ExpressionDispatcher.DispatcherState Manual
-
Status
public static final ExpressionDispatcher.DispatcherState Status
-
Running
public static final ExpressionDispatcher.DispatcherState Running
-
Paused
public static final ExpressionDispatcher.DispatcherState Paused
-
Waiting
public static final ExpressionDispatcher.DispatcherState Waiting
-
Working
public static final ExpressionDispatcher.DispatcherState Working
-
Ready
public static final ExpressionDispatcher.DispatcherState Ready
-
Stopped
public static final ExpressionDispatcher.DispatcherState Stopped
-
Done
public static final ExpressionDispatcher.DispatcherState Done
-
-
Method Detail
-
values
public static ExpressionDispatcher.DispatcherState[] 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 (ExpressionDispatcher.DispatcherState c : ExpressionDispatcher.DispatcherState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionDispatcher.DispatcherState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getType
public java.lang.String getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ExpressionDispatcher.DispatcherState>
-
-