Class PipelineNodeUtil


  • public class PipelineNodeUtil
    extends Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static String getDebugString​(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)  
      static String getDetailedDebugString​(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)  
      static String getDisplayName​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static org.jenkinsci.plugins.workflow.graph.FlowNode getPreviousNode​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      Returns the node that has been previously executed
      static org.jenkinsci.plugins.workflow.actions.TagsAction getSyntheticStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static org.jenkinsci.plugins.workflow.job.WorkflowRun getWorkflowRun​(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)  
      static boolean isEndParallelBlock​(org.jenkinsci.plugins.workflow.graph.FlowNode node)  
      static boolean isPostSyntheticStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static boolean isPreSyntheticStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static boolean isSkippedStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static boolean isStartExecutorNode​(org.jenkinsci.plugins.workflow.graph.FlowNode node)  
      static boolean isStartExecutorNodeExecution​(org.jenkinsci.plugins.workflow.graph.FlowNode node)  
      static boolean isStartParallelBlock​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      inspired by of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static boolean isStartParallelBranch​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      inspired by of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static boolean isStartStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      static boolean isSyntheticStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
    • Constructor Detail

      • PipelineNodeUtil

        public PipelineNodeUtil()
    • Method Detail

      • isStartStage

        public static boolean isStartStage​(org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isSyntheticStage

        public static boolean isSyntheticStage​(@Nullable
                                               org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • getSyntheticStage

        @CheckForNull
        public static org.jenkinsci.plugins.workflow.actions.TagsAction getSyntheticStage​(@Nullable
                                                                                          org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isPostSyntheticStage

        public static boolean isPostSyntheticStage​(@Nullable
                                                   org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isSkippedStage

        public static boolean isSkippedStage​(@Nullable
                                             org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isPreSyntheticStage

        public static boolean isPreSyntheticStage​(@Nullable
                                                  org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isStartParallelBranch

        public static boolean isStartParallelBranch​(@Nullable
                                                    org.jenkinsci.plugins.workflow.graph.FlowNode node)
        inspired by of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isStartExecutorNode

        public static boolean isStartExecutorNode​(@Nullable
                                                  org.jenkinsci.plugins.workflow.graph.FlowNode node)
      • isStartParallelBlock

        public static boolean isStartParallelBlock​(@Nullable
                                                   org.jenkinsci.plugins.workflow.graph.FlowNode node)
        inspired by of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • isEndParallelBlock

        public static boolean isEndParallelBlock​(@Nullable
                                                 org.jenkinsci.plugins.workflow.graph.FlowNode node)
      • isStartExecutorNodeExecution

        public static boolean isStartExecutorNodeExecution​(@NonNull
                                                           org.jenkinsci.plugins.workflow.graph.FlowNode node)
      • getDisplayName

        @NonNull
        public static String getDisplayName​(@NonNull
                                            org.jenkinsci.plugins.workflow.graph.FlowNode node)
        copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil
      • getPreviousNode

        @CheckForNull
        public static org.jenkinsci.plugins.workflow.graph.FlowNode getPreviousNode​(@NonNull
                                                                                    org.jenkinsci.plugins.workflow.graph.FlowNode node)
        Returns the node that has been previously executed
        Returns:
        the FlowNode that has previously executed or null
      • getWorkflowRun

        @CheckForNull
        public static org.jenkinsci.plugins.workflow.job.WorkflowRun getWorkflowRun​(@NonNull
                                                                                    org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
      • getDebugString

        @NonNull
        public static String getDebugString​(@Nullable
                                            org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
      • getDetailedDebugString

        @NonNull
        public static String getDetailedDebugString​(@Nullable
                                                    org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)