|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the implementation class of an activity. An activity is a part of a workflow containing several work to be done. All the work within the activity must normally finished so the activity is able to determine the final activity status.
| Field Summary | |
static int |
ACTIVE
Constant indicating that the transitions is firing, that means executing. |
static int |
BLOCKED
Constant indicating that this transition can not fire. |
static int |
COMPLETED
Constant indicating that the transition has fired successfully. |
static int |
CREATED
Constant indicating that this transition is not yet initialised. |
static int |
READY
Constant indicating that the transition is ready to fire, but was not activated yet for execution. |
static int |
TYPE_EXTERNAL
|
static int |
TYPE_SUBFLOW
|
static int |
TYPE_TOOL
|
static int |
TYPE_USER
|
| Method Summary | |
int |
getActivityType()
|
java.util.Date |
getCreationTime()
|
java.util.Date |
getEndTime()
|
IParticipant |
getParticipant()
Returns the participant of this transition. |
IRole |
getRole()
Returns the activities's role. |
java.util.Date |
getStartTime()
|
int |
getStatus()
Return the activiy's overall status |
ITransition |
getTransition()
Returns the participant of this transition. |
void |
run(IWorkflowContext context)
Run this activity |
| Methods inherited from interface org.jwarp.flow.IWorkflowObject |
getDescription, getID, getName |
| Field Detail |
public static final int TYPE_EXTERNAL
public static final int TYPE_SUBFLOW
public static final int TYPE_TOOL
public static final int TYPE_USER
public static final int CREATED
public static final int BLOCKED
public static final int READY
public static final int ACTIVE
public static final int COMPLETED
| Method Detail |
public int getActivityType()
public IRole getRole()
public IParticipant getParticipant()
public ITransition getTransition()
public int getStatus()
public void run(IWorkflowContext context)
throws ProcessInitException,
ProcessException
ActivityInitException - If the activity could not be startedActivityException - If an error during activity executino occuredpublic java.util.Date getCreationTime()
public java.util.Date getStartTime()
public java.util.Date getEndTime()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||