|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.initiator.InitiatorState
public class InitiatorState
Simple initiator state implementation.
| Field Summary | |
|---|---|
static InitiatorState |
ERROR
Error State - stopped, but in error |
static InitiatorState |
RECOVERING
Recovering State = running, but in recovery |
static InitiatorState |
RUNNING
Running State - just running |
static InitiatorState |
STOPPED
Stopped State - just stopped |
| Constructor Summary | |
|---|---|
protected |
InitiatorState(String name,
boolean stopped,
boolean running,
boolean recovering,
boolean error)
Constructor |
| Method Summary | |
|---|---|
String |
getName()
Get the state name |
boolean |
isError()
Is this a stopped in 'error' state |
boolean |
isRecovering()
Is this a running but in 'recovery' state |
boolean |
isRunning()
Is this a running normally state |
boolean |
isStopped()
Is this a stopped normally state |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final InitiatorState STOPPED
public static final InitiatorState RUNNING
public static final InitiatorState RECOVERING
public static final InitiatorState ERROR
| Constructor Detail |
|---|
protected InitiatorState(String name,
boolean stopped,
boolean running,
boolean recovering,
boolean error)
name - stopped - running - recovering - error - | Method Detail |
|---|
public boolean isStopped()
public boolean isRunning()
public boolean isRecovering()
public boolean isError()
public String getName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||