Class 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 Detail

      • StageChunkFinder

        public StageChunkFinder()
    • Method Detail

      • 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