Package io.jenkins.plugins.trunk.utils
Class NodeUtil
java.lang.Object
io.jenkins.plugins.trunk.utils.NodeUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.jenkinsci.plugins.workflow.job.WorkflowRun
getNodeRun
(org.jenkinsci.plugins.workflow.graph.FlowNode node) static boolean
isEndNode
(org.jenkinsci.plugins.workflow.graph.FlowNode node) static boolean
isStageNode
(org.jenkinsci.plugins.workflow.graph.FlowNode node) static boolean
isStartNode
(org.jenkinsci.plugins.workflow.graph.FlowNode node) static boolean
isSyntheticStageNode
(org.jenkinsci.plugins.workflow.graph.FlowNode node)
-
Constructor Details
-
NodeUtil
public NodeUtil()
-
-
Method Details
-
isStartNode
public static boolean isStartNode(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node) -
isEndNode
public static boolean isEndNode(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node) -
isSyntheticStageNode
public static boolean isSyntheticStageNode(org.jenkinsci.plugins.workflow.graph.FlowNode node) -
isStageNode
public static boolean isStageNode(org.jenkinsci.plugins.workflow.graph.FlowNode node) -
getNodeRun
@CheckForNull public static org.jenkinsci.plugins.workflow.job.WorkflowRun getNodeRun(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node)
-