@Entity public class ParallelActivity extends Activity
tasksToComplete
attribute specifies the number of tasks that
should be completed so the workflow can progress to the next step.Modifier and Type | Field and Description |
---|---|
private int |
tasksToComplete |
lifeCycleState, step, tasks, workflow
Constructor and Description |
---|
ParallelActivity() |
ParallelActivity(int pStep,
String pLifeCycleState,
int pTasksToComplete) |
Modifier and Type | Method and Description |
---|---|
Collection<Task> |
getOpenTasks() |
int |
getTasksToComplete() |
boolean |
isComplete() |
boolean |
isStopped() |
private int |
numberOfApproved() |
private int |
numberOfRejected() |
void |
setTasksToComplete(int tasksToComplete) |
clone, equals, getKey, getLifeCycleState, getStep, getTasks, getWorkflow, getWorkflowId, hashCode, setLifeCycleState, setStep, setTasks, setWorkflow
public ParallelActivity()
public ParallelActivity(int pStep, String pLifeCycleState, int pTasksToComplete)
private int numberOfApproved()
private int numberOfRejected()
public Collection<Task> getOpenTasks()
getOpenTasks
in class Activity
public void setTasksToComplete(int tasksToComplete)
public int getTasksToComplete()
public boolean isComplete()
isComplete
in class Activity
Copyright © 2013 OW2 Consortium. All Rights Reserved.