org.jactr.modules.pm.motor.command
Enum IMovement.State
java.lang.Object
java.lang.Enum<IMovement.State>
org.jactr.modules.pm.motor.command.IMovement.State
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IMovement.State>
- Enclosing interface:
- IMovement
public static enum IMovement.State
- extends java.lang.Enum<IMovement.State>
|
Method Summary |
static IMovement.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IMovement.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INITIALIZED
public static final IMovement.State INITIALIZED
PREPARING
public static final IMovement.State PREPARING
PREPARED
public static final IMovement.State PREPARED
PROCESSING
public static final IMovement.State PROCESSING
EXECUTING
public static final IMovement.State EXECUTING
ABORTING
public static final IMovement.State ABORTING
COMPLETED
public static final IMovement.State COMPLETED
FAILED
public static final IMovement.State FAILED
values
public static final IMovement.State[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(IMovement.State c : IMovement.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static IMovement.State 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 name