de.danet.an.workflow.api
Class Activity.DeadlineInfo

java.lang.Object
  extended byde.danet.an.workflow.api.Activity.DeadlineInfo
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Activity

public static class Activity.DeadlineInfo
extends java.lang.Object
implements java.io.Serializable

Class DeadlineInfo describes all properties of a deadline.

See Also:
Serialized Form

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

ASYNCHR

public static final int ASYNCHR
Denotes asynchronous execution of the deadline.

See Also:
Constant Field Values

SYNCHR

public static final int SYNCHR
Denotes synchronous execution of the deadline.

See Also:
Constant Field Values

STATE_INITIAL

public static final int STATE_INITIAL
Deadline is in initial state.

See Also:
Constant Field Values

STATE_REACHED

public static final int STATE_REACHED
Deadline has been reached.

See Also:
Constant Field Values

STATE_ACTIVE

public static final int STATE_ACTIVE
Deadline is running.

See Also:
Constant Field Values

STATE_CANCELED

public static final int STATE_CANCELED
Deadline has been canceled.

See Also:
Constant Field Values
Constructor Detail

Activity.DeadlineInfo

public Activity.DeadlineInfo(int executionMode,
                             java.lang.String exceptionName,
                             java.lang.String condition,
                             int state)
Creates a new DeadlineInfo instance with the given values.

Parameters:
executionMode - the execution mode
exceptionName - the exception to be thrown
condition - the condition
state - the current state
Method Detail

getExecutionMode

public int getExecutionMode()
Get the value of execution, one of ASYNCHR or SYNCHR.

Returns:
value of execution.

getExceptionName

public java.lang.String getExceptionName()
Get the value of ExceptionName.

Returns:
value of ExceptionName.

getCondition

public java.lang.String getCondition()
Get the value of Condition.

Returns:
value of Condition.

getState

public int getState()
Get the value of state, one of STATE_INITIAL, STATE_REACHED or STATE_CANCELED.

Returns:
value of state.