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
Constructors Constructor Description ParallelMemoryFlowChunk(FlowNode firstNode, FlowNode lastNode)
ParallelMemoryFlowChunk(FlowNode nodeBefore, FlowNode firstNode, FlowNode lastNode, FlowNode nodeAfter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,MemoryFlowChunk>
getBranches()
Returns 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
-
-
-
-
Method Detail
-
setBranch
public void setBranch(@NonNull String branchName, @NonNull MemoryFlowChunk branchBlock)
- Specified by:
setBranch
in interfaceParallelFlowChunk<MemoryFlowChunk>
-
getBranches
@NonNull public Map<String,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>
-
-