Class ParallelBlockRelationship

java.lang.Object
io.jenkins.plugins.pipelinegraphview.treescanner.NodeRelationship
io.jenkins.plugins.pipelinegraphview.treescanner.ParallelBlockRelationship

public class ParallelBlockRelationship extends NodeRelationship
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<org.jenkinsci.plugins.workflow.graph.FlowNode>
     
    protected List<org.jenkinsci.plugins.workflow.graph.BlockStartNode>
     
    protected Map<String,org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus>
     
    protected Map<String,org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo>
     
    protected org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus
     
    protected org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo
     

    Fields inherited from class io.jenkins.plugins.pipelinegraphview.treescanner.NodeRelationship

    after, before, end, start
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParallelBlockRelationship(org.jenkinsci.plugins.workflow.graph.FlowNode start, org.jenkinsci.plugins.workflow.graph.FlowNode end, org.jenkinsci.plugins.workflow.graph.FlowNode after, ArrayDeque<NodeRelationship> branchRelationships)
     
    ParallelBlockRelationship(org.jenkinsci.plugins.workflow.graph.FlowNode start, org.jenkinsci.plugins.workflow.graph.FlowNode end, org.jenkinsci.plugins.workflow.graph.FlowNode after, List<org.jenkinsci.plugins.workflow.graph.BlockStartNode> branchStarts, List<org.jenkinsci.plugins.workflow.graph.FlowNode> branchEnds)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.jenkinsci.plugins.workflow.graph.FlowNode>
     
    List<org.jenkinsci.plugins.workflow.graph.BlockStartNode>
     
    getBranchStatus(org.jenkinsci.plugins.workflow.job.WorkflowRun run, org.jenkinsci.plugins.workflow.graph.BlockStartNode branchStartNode)
     
    org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo
    getBranchTimingInfo(org.jenkinsci.plugins.workflow.job.WorkflowRun run, org.jenkinsci.plugins.workflow.graph.BlockStartNode startNode)
     
    getStatus(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
     
    org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo
    getTimingInfo(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
     

    Methods inherited from class io.jenkins.plugins.pipelinegraphview.treescanner.NodeRelationship

    getAfter, getBefore, getEnd, getStart, setBefore

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • branchStarts

      @NonNull protected List<org.jenkinsci.plugins.workflow.graph.BlockStartNode> branchStarts
    • branchEnds

      @NonNull protected List<org.jenkinsci.plugins.workflow.graph.FlowNode> branchEnds
    • branchStatuses

      protected Map<String,org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus> branchStatuses
    • branchTimings

      protected Map<String,org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo> branchTimings
    • overallStatus

      protected org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus overallStatus
    • overallTiming

      protected org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo overallTiming
  • Constructor Details

    • ParallelBlockRelationship

      public ParallelBlockRelationship(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode start, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode end, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode after, List<org.jenkinsci.plugins.workflow.graph.BlockStartNode> branchStarts, List<org.jenkinsci.plugins.workflow.graph.FlowNode> branchEnds)
    • ParallelBlockRelationship

      public ParallelBlockRelationship(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode start, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode end, @CheckForNull org.jenkinsci.plugins.workflow.graph.FlowNode after, ArrayDeque<NodeRelationship> branchRelationships)
  • Method Details

    • getBranchStarts

      @NonNull public List<org.jenkinsci.plugins.workflow.graph.BlockStartNode> getBranchStarts()
    • getBranchEnds

      @NonNull public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getBranchEnds()
    • getTimingInfo

      @NonNull public org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo getTimingInfo(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
      Overrides:
      getTimingInfo in class NodeRelationship
    • getBranchTimingInfo

      @NonNull public org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo getBranchTimingInfo(org.jenkinsci.plugins.workflow.job.WorkflowRun run, org.jenkinsci.plugins.workflow.graph.BlockStartNode startNode)
    • getStatus

      @NonNull public NodeRunStatus getStatus(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
      Overrides:
      getStatus in class NodeRelationship
    • getBranchStatus

      @NonNull public NodeRunStatus getBranchStatus(org.jenkinsci.plugins.workflow.job.WorkflowRun run, org.jenkinsci.plugins.workflow.graph.BlockStartNode branchStartNode)