|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobNode
Node within the graph of JobNode instances to execute.
May be used as a LinkedListSetEntry in a list of JobNode
instances for a JobSequence.
| Method Summary | |
|---|---|
void |
activateJob(TeamIdentifier currentTeam)
Activates the Job for this JobNode. |
void |
clearNodes(JobNodeActivateSet activateSet,
TeamIdentifier currentTeam)
Clears the JobNode instances linked to this JobNode. |
EscalationProcedure |
getEscalationProcedure()
Obtains the EscalationProcedure for this JobNode. |
JobSequence |
getJobSequence()
Obtains the JobSequence containing this JobNode. |
JobNode |
getNextNode()
Obtains the next JobNode in the JobSequence to execute
after the current JobNode has completed. |
JobNode |
getParallelNode()
Obtains the parallel JobNode to the current JobNode. |
JobNode |
getParallelOwner()
Obtains the parallel owner of this JobNode. |
boolean |
isJobNodeComplete()
Indicates if this JobNode is completed. |
void |
setNextNode(JobNode jobNode)
Specifies the next JobNode in the JobSequence to execute
after the current JobNode is completed. |
void |
setParallelNode(JobNode jobNode)
Specifies the parallel JobNode to the current JobNode. |
void |
setParallelOwner(JobNode jobNode)
Specifies the parallel owner of this JobNode. |
| Methods inherited from interface net.officefloor.frame.internal.structure.LinkedListSetEntry |
|---|
getLinkedListSetOwner, getNext, getPrev, setNext, setPrev |
| Method Detail |
|---|
void activateJob(TeamIdentifier currentTeam)
Job for this JobNode.
currentTeam - Current TeamIdentifier that is activating the
JobNode. This enables continuing execution with the
current Thread should it be the same Team.boolean isJobNodeComplete()
JobNode is completed.
true if this JobNode is completed.JobSequence getJobSequence()
JobSequence containing this JobNode. The
returned JobSequence provides access to the ThreadState
and subsequent ProcessState that this JobNode is involved
in.
JobSequence containing this JobNode.EscalationProcedure getEscalationProcedure()
EscalationProcedure for this JobNode.
EscalationProcedure for this JobNode.void setParallelOwner(JobNode jobNode)
Specifies the parallel owner of this JobNode.
The input JobNode is executed once the current
JobSequence that this JobNode is involved with is
complete.
jobNode - Parallel owner of this JobNode.JobNode getParallelOwner()
JobNode.
JobNode.void setParallelNode(JobNode jobNode)
JobNode to the current JobNode.
The current JobNode will not complete until the input parallel
JobNode is complete.
jobNode - Parallel JobNode.JobNode getParallelNode()
JobNode to the current JobNode.
JobNode to the current JobNode.void setNextNode(JobNode jobNode)
JobNode in the JobSequence to execute
after the current JobNode is completed.
jobNode - Next JobNode.JobNode getNextNode()
JobNode in the JobSequence to execute
after the current JobNode has completed.
JobNode.
void clearNodes(JobNodeActivateSet activateSet,
TeamIdentifier currentTeam)
JobNode instances linked to this JobNode.
activateSet - JobNodeActivateSet.currentTeam - TeamIdentifier of the current Team clearing
the JobNode instances.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||