Class StageChunkFinder

java.lang.Object
io.jenkins.plugins.pipelinegraphview.analysis.StageChunkFinder
All Implemented Interfaces:
org.jenkinsci.plugins.workflow.graphanalysis.ChunkFinder

public class StageChunkFinder extends Object implements org.jenkinsci.plugins.workflow.graphanalysis.ChunkFinder
Finds both block-scoped and legacy stages
Author:
Sam Van Oort
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isChunkEnd(org.jenkinsci.plugins.workflow.graph.FlowNode current, org.jenkinsci.plugins.workflow.graph.FlowNode previous)
    End is where you have a label marker before it...
    boolean
    isChunkStart(org.jenkinsci.plugins.workflow.graph.FlowNode current, org.jenkinsci.plugins.workflow.graph.FlowNode previous)
     
    boolean
     

    Methods inherited from class java.lang.Object

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

    • StageChunkFinder

      public StageChunkFinder()
  • Method Details

    • isStartInsideChunk

      public boolean isStartInsideChunk()
      Specified by:
      isStartInsideChunk in interface org.jenkinsci.plugins.workflow.graphanalysis.ChunkFinder
    • isChunkStart

      public boolean isChunkStart(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode current, @CheckForNull org.jenkinsci.plugins.workflow.graph.FlowNode previous)
      Specified by:
      isChunkStart in interface org.jenkinsci.plugins.workflow.graphanalysis.ChunkFinder
    • isChunkEnd

      public boolean isChunkEnd(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode current, @CheckForNull org.jenkinsci.plugins.workflow.graph.FlowNode previous)
      End is where you have a label marker before it... or
      Specified by:
      isChunkEnd in interface org.jenkinsci.plugins.workflow.graphanalysis.ChunkFinder