|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface State
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 java.lang.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} |
java.lang.String |
getStateString()
Returns the string representation of current state. |
Field Detail |
---|
static final java.lang.String[] STATES
static final int STARTING
static final int STARTED
static final int STOPPING
static final int STOPPED
static final int UNINITIALIZED
Method Detail |
---|
int getState()
java.lang.String getStateString()
|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |