public final class State extends Object
MonitoringStatus.getState()
Modifier and Type | Field and Description |
---|---|
static State |
STARTED
Specifies the 'Started' state.
|
static State |
STOPPED
Specifies the 'Stopped' state.
|
static State |
SUSPENDED
Specifies the 'Suspended' state.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isStart()
Returns
true if the state is 'Started'. |
boolean |
isStop()
Returns
true if the state is 'Stopped'. |
boolean |
isSuspend()
Returns
true if the state is 'Suspended'. |
public static final State STARTED
public static final State SUSPENDED
public static final State STOPPED
public boolean isStart()
true
if the state is 'Started'.public boolean isSuspend()
true
if the state is 'Suspended'.public boolean isStop()
true
if the state is 'Stopped'.