public class FwkExecuteStateEvent extends java.util.EventObject implements FwkExecuteStateEventInterface
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
message |
protected int |
state |
static java.lang.String |
version |
ERROR, READY, STARTED, STOPPED, WILL_START, WILL_STOP| Constructor and Description |
|---|
FwkExecuteStateEvent(java.lang.Object source,
int state)
The constructor.
|
FwkExecuteStateEvent(java.lang.Object source,
int state,
java.lang.String message)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Get a message string.
|
int |
getState()
Get the execute state.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
release()
Release the object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSourcepublic static final java.lang.String version
protected int state
protected java.lang.String message
public FwkExecuteStateEvent(java.lang.Object source,
int state)
state - the state.public FwkExecuteStateEvent(java.lang.Object source,
int state,
java.lang.String message)
state - the state.message - the message.public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacepublic void release()
release in interface FwkInterfacepublic int getState()
getState in interface FwkExecuteStateEventInterfacepublic java.lang.String getMessage()
getMessage in interface FwkExecuteStateEventInterface