Class ParallelMemoryFlowChunk
java.lang.Object
org.jenkinsci.plugins.workflow.graphanalysis.MemoryFlowChunk
org.jenkinsci.plugins.workflow.graphanalysis.ParallelMemoryFlowChunk
- All Implemented Interfaces:
FlowChunk
,FlowChunkWithContext
,ParallelFlowChunk<MemoryFlowChunk>
public class ParallelMemoryFlowChunk
extends MemoryFlowChunk
implements ParallelFlowChunk<MemoryFlowChunk>
Corresponds to a parallel block, acts as an in-memory container that can plug into status/timing APIs
- Author:
- Sam Van Oort
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.workflow.graphanalysis.MemoryFlowChunk
firstNode, lastNode, nodeAfter, nodeBefore
-
Constructor Summary
ConstructorDescriptionParallelMemoryFlowChunk
(FlowNode firstNode, FlowNode lastNode) ParallelMemoryFlowChunk
(FlowNode nodeBefore, FlowNode firstNode, FlowNode lastNode, FlowNode nodeAfter) -
Method Summary
Modifier and TypeMethodDescriptionReturns the branches of a parallel flow chunk, mapped by branch name and parallel branch blockvoid
setBranch
(String branchName, MemoryFlowChunk branchBlock) Methods inherited from class org.jenkinsci.plugins.workflow.graphanalysis.MemoryFlowChunk
getFirstNode, getLastNode, getNodeAfter, getNodeBefore, getPauseTimeMillis, setFirstNode, setLastNode, setNodeAfter, setNodeBefore, setPauseTimeMillis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jenkinsci.plugins.workflow.graphanalysis.FlowChunk
getFirstNode, getLastNode
-
Constructor Details
-
ParallelMemoryFlowChunk
-
ParallelMemoryFlowChunk
-
-
Method Details
-
setBranch
- Specified by:
setBranch
in interfaceParallelFlowChunk<MemoryFlowChunk>
-
getBranches
Description copied from interface:ParallelFlowChunk
Returns the branches of a parallel flow chunk, mapped by branch name and parallel branch block- Specified by:
getBranches
in interfaceParallelFlowChunk<MemoryFlowChunk>
-