|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Meter.State>
com.sage.accpac.sm.Meter.State
public static enum Meter.State
Enumeration of possible states
Enum Constant Summary | |
---|---|
Canceled
The state once the process has disconnected from the meter if the previous state was Canceling |
|
Canceling
The state once the process has been informed of the cancel request or the process decides to cancel of its own volition |
|
Finished
The state once the process has disconnected from the meter if the previous state was not Canceling |
|
RequestCancel
The state following a call to cancel before it is acknowledged or the meter is disconnected from the process |
|
Running
The initial state of a meter |
Method Summary | |
---|---|
static Meter.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Meter.State[] |
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 |
Enum Constant Detail |
---|
public static final Meter.State Running
public static final Meter.State RequestCancel
public static final Meter.State Canceling
public static final Meter.State Canceled
public static final Meter.State Finished
Method Detail |
---|
public static Meter.State[] values()
for (Meter.State c : Meter.State.values()) System.out.println(c);
public static Meter.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |