|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents object with state information.
Field Summary | |
static int |
STARTED
Signals service already started and is running |
static int |
STARTING
Starting state, service is starting |
static String[] |
STATES
state string array, possible values are {"Starting","Started", "Stopping", "Stopped"} |
static int |
STOPPED
Signals service is already stopped |
static int |
STOPPING
Signals service is stopping |
static int |
UNINITIALIZED
|
Method Summary | |
int |
getState()
Returns the current state of service, one of {State.STARTING, State.STARTED, State.STOPPING, State.STARTED} |
String |
getStateString()
Returns the string representation of current state. |
Field Detail |
public static final String[] STATES
public static final int STARTING
public static final int STARTED
public static final int STOPPING
public static final int STOPPED
public static final int UNINITIALIZED
Method Detail |
public int getState()
public String getStateString()
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |