org.jlab.coda.afecs.ui.rcgui
Enum RcStates
java.lang.Object
java.lang.Enum<RcStates>
org.jlab.coda.afecs.ui.rcgui.RcStates
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RcStates>
public enum RcStates
- extends java.lang.Enum<RcStates>
JSA: Thomas Jefferson National Accelerator Facility
This software was developed under a United States Government license,
described in the NOTICE file included as part of this distribution.
Copyright (c), 5/19/11
Method Summary |
java.lang.String |
getName()
|
static RcStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RcStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BOOTED
public static final RcStates BOOTED
DISCONNECTED
public static final RcStates DISCONNECTED
INITIALIZING
public static final RcStates INITIALIZING
INITIALIZED
public static final RcStates INITIALIZED
CONNECTING
public static final RcStates CONNECTING
CONNECTED
public static final RcStates CONNECTED
CONFIGURING
public static final RcStates CONFIGURING
CONFIGURED
public static final RcStates CONFIGURED
DOWNLOADING
public static final RcStates DOWNLOADING
DOWNLOADED
public static final RcStates DOWNLOADED
PRESTARTING
public static final RcStates PRESTARTING
PRESTARTED
public static final RcStates PRESTARTED
ACTIVATING
public static final RcStates ACTIVATING
ACTIVE
public static final RcStates ACTIVE
ENDING
public static final RcStates ENDING
ENDED
public static final RcStates ENDED
RESETTING
public static final RcStates RESETTING
RESETED
public static final RcStates RESETED
ABORTING
public static final RcStates ABORTING
ABORTED
public static final RcStates ABORTED
values
public static RcStates[] 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 (RcStates c : RcStates.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RcStates 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
java.lang.NullPointerException
- if the argument is null
getName
public java.lang.String getName()