|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.api.Activity.DeadlineInfo
Class DeadlineInfo
describes all properties of a
deadline.
Field Summary | |
static int |
ASYNCHR
Denotes asynchronous execution of the deadline. |
static int |
STATE_ACTIVE
Deadline is running. |
static int |
STATE_CANCELED
Deadline has been canceled. |
static int |
STATE_INITIAL
Deadline is in initial state. |
static int |
STATE_REACHED
Deadline has been reached. |
static int |
SYNCHR
Denotes synchronous execution of the deadline. |
Constructor Summary | |
Activity.DeadlineInfo(int executionMode,
java.lang.String exceptionName,
java.lang.String condition,
int state)
Creates a new DeadlineInfo instance with the given
values. |
Method Summary | |
java.lang.String |
getCondition()
Get the value of Condition. |
java.lang.String |
getExceptionName()
Get the value of ExceptionName. |
int |
getExecutionMode()
Get the value of execution, one of ASYNCHR
or SYNCHR . |
int |
getState()
Get the value of state, one of STATE_INITIAL ,
STATE_REACHED or STATE_CANCELED . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ASYNCHR
public static final int SYNCHR
public static final int STATE_INITIAL
public static final int STATE_REACHED
public static final int STATE_ACTIVE
public static final int STATE_CANCELED
Constructor Detail |
public Activity.DeadlineInfo(int executionMode, java.lang.String exceptionName, java.lang.String condition, int state)
DeadlineInfo
instance with the given
values.
executionMode
- the execution modeexceptionName
- the exception to be throwncondition
- the conditionstate
- the current stateMethod Detail |
public int getExecutionMode()
ASYNCHR
or SYNCHR
.
public java.lang.String getExceptionName()
public java.lang.String getCondition()
public int getState()
STATE_INITIAL
,
STATE_REACHED
or STATE_CANCELED
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |