|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.util.State
public class State
Represents a state of a FiniteStateMachine
.
Field Summary | |
---|---|
static State |
ABORTED
Operation has been aborted. |
static State |
ABORTING
An abort is in progress. |
static State |
CONNECTED
Connect was successful. |
static State |
CONNECTING
Connect is in progress. |
static State |
DELETED
Object was deleted. |
static State |
DISCONNECTED
Disconnect was successful. |
static State |
DISCONNECTING
Disconnect is in progress. |
static State |
DOWNLOADING
Download in progress. |
static State |
ERROR
An unrecoverable error has occured. |
static State |
FAILED
Operation has failed. |
static State |
FINISHED
Operation is finished. |
static State |
LOCALLY_QUEUED
Object has been locally queued. |
static State |
NOT_STARTED
Operation has not started, yet. |
static State |
REQUESTING
Object has requested an operation. |
static State |
RUNNING
Something is going on. |
static State |
SEARCHING
Search is in progress. |
static State |
STOPPED
Operation has been stopped. |
static State |
STOPPING
A stop operation is in progress . |
static State |
SUCCEEDED
Operation was successful. |
static State |
UPLOADING
Upload in progress. |
static State |
WAITING
Waiting for something. |
Constructor Summary | |
---|---|
State()
|
|
State(java.lang.String description)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns a short description for this state. |
void |
setDescription(java.lang.String newValue)
Sets a new description. |
java.lang.String |
toString()
Returns getDescription() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final State ABORTED
public static final State ABORTING
public static final State CONNECTING
public static final State CONNECTED
public static final State DELETED
public static final State DISCONNECTING
public static final State DISCONNECTED
public static final State DOWNLOADING
public static final State ERROR
public static final State FAILED
public static final State FINISHED
public static final State LOCALLY_QUEUED
public static final State NOT_STARTED
public static final State REQUESTING
public static final State RUNNING
public static final State SEARCHING
public static final State STOPPING
public static final State STOPPED
public static final State SUCCEEDED
public static final State UPLOADING
public static final State WAITING
Constructor Detail |
---|
public State(java.lang.String description)
public State()
Method Detail |
---|
public java.lang.String getDescription()
public void setDescription(java.lang.String newValue)
public java.lang.String toString()
getDescription()
.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |