public interface JobNode extends LinkedListSetEntry<JobNode,JobSequence>
Node within the graph of JobNode
instances to execute.
May be used as a LinkedListSetEntry
in a list of JobNode
instances for a JobSequence
.
Modifier and Type | Method and Description |
---|---|
void |
activateJob(TeamIdentifier currentTeam)
|
void |
clearNodes(JobNodeActivateSet activateSet,
TeamIdentifier currentTeam)
|
EscalationProcedure |
getEscalationProcedure()
Obtains the
EscalationProcedure for this JobNode . |
JobSequence |
getJobSequence()
Obtains the
JobSequence containing this JobNode . |
JobNode |
getNextNode()
|
JobNode |
getParallelNode()
|
JobNode |
getParallelOwner()
Obtains the parallel owner of this
JobNode . |
boolean |
isJobNodeComplete()
Indicates if this
JobNode is completed. |
void |
setNextNode(JobNode jobNode)
|
void |
setParallelNode(JobNode jobNode)
|
void |
setParallelOwner(JobNode jobNode)
Specifies the parallel owner of this
JobNode . |
getLinkedListSetOwner, getNext, getPrev, setNext, setPrev
void activateJob(TeamIdentifier currentTeam)
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
.void clearNodes(JobNodeActivateSet activateSet, TeamIdentifier currentTeam)
activateSet
- JobNodeActivateSet
.currentTeam
- TeamIdentifier
of the current Team
clearing
the JobNode
instances.Copyright © 2005–2016. All rights reserved.