Class PipelineNodeUtil

java.lang.Object
io.jenkins.plugins.opentelemetry.job.jenkins.PipelineNodeUtil

public class PipelineNodeUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
    isStartWithNewSpan(org.jenkinsci.plugins.workflow.graph.FlowNode node)
     
    static boolean
    isSyntheticStage(org.jenkinsci.plugins.workflow.graph.FlowNode node)
    copy of io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeUtil

    Methods inherited from class java.lang.Object

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

    • PipelineNodeUtil

      public PipelineNodeUtil()
  • Method Details

    • isStartStage

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

      public static boolean isStartWithNewSpan(org.jenkinsci.plugins.workflow.graph.FlowNode node)
    • 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)