|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobSequence
Represents a sequence of Job instances that are completed one after
another.
May be used as a LinkedListSetEntry in a list of JobSequence
instances for a ThreadState.
| Method Summary | |
|---|---|
JobNode |
createGovernanceNode(GovernanceActivity<?,?> governanceActivity,
JobNode parallelNodeOwner)
Creates a new JobNode contained in this JobSequence for
the GovernanceActivity. |
JobNode |
createTaskNode(TaskMetaData<?,?,?> taskMetaData,
JobNode parallelNodeOwner,
Object parameter,
GovernanceDeactivationStrategy governanceDeactivationStrategy)
Creates a new JobNode contained in this JobSequence for
the Task. |
ThreadState |
getThreadState()
Obtains the ThreadState containing this JobSequence. |
void |
jobNodeComplete(JobNode jobNode,
JobNodeActivateSet activateSet,
TeamIdentifier currentTeam)
Flags that the input JobNode has completed. |
| Methods inherited from interface net.officefloor.frame.internal.structure.FlowAsset |
|---|
waitOnFlow |
| Methods inherited from interface net.officefloor.frame.api.execute.FlowFuture |
|---|
isComplete |
| Methods inherited from interface net.officefloor.frame.internal.structure.LinkedListSetEntry |
|---|
getLinkedListSetOwner, getNext, getPrev, setNext, setPrev |
| Method Detail |
|---|
JobNode createTaskNode(TaskMetaData<?,?,?> taskMetaData,
JobNode parallelNodeOwner,
Object parameter,
GovernanceDeactivationStrategy governanceDeactivationStrategy)
JobNode contained in this JobSequence for
the Task.
taskMetaData - TaskMetaData for the new JobNode.parallelNodeOwner - JobNode that is the parallel owner of the new
JobNode.parameter - Parameter for the JobNode.governanceDeactivationStrategy - GovernanceDeactivationStrategy.
JobNode.
JobNode createGovernanceNode(GovernanceActivity<?,?> governanceActivity,
JobNode parallelNodeOwner)
JobNode contained in this JobSequence for
the GovernanceActivity.
governanceActivity - GovernanceActivity.parallelNodeOwner - JobNode that is the parallel owner of the new
JobNode.
JobNode.
void jobNodeComplete(JobNode jobNode,
JobNodeActivateSet activateSet,
TeamIdentifier currentTeam)
JobNode has completed.
jobNode - JobNode that has completed.activateSet - JobNodeActivateSet to add JobNode instances
waiting on this JobSequence if all JobNode
instances of this JobSequence are complete.currentTeam - TeamIdentifier of the current Team completing
the JobNode.ThreadState getThreadState()
ThreadState containing this JobSequence.
ThreadState containing this JobSequence.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||