public class CommonUtils extends Object
| Constructor and Description |
|---|
CommonUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
findPossiblyUnfinishedEndNodeForCurrentStage(String stageName) |
static List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
findPossiblyUnfinishedEndNodeForCurrentStage(String stageName,
org.jenkinsci.plugins.workflow.flow.FlowExecution execution) |
static com.google.common.base.Predicate<org.jenkinsci.plugins.workflow.graph.FlowNode> |
isSomewhereWithinStage(org.jenkinsci.plugins.workflow.graph.FlowNode stageStartNode)
This will return true for flow nodes in *child* stages, not just the immediate enclosing stage.
|
static com.google.common.base.Predicate<org.jenkinsci.plugins.workflow.graph.FlowNode> |
isStageWithOptionalName() |
static com.google.common.base.Predicate<org.jenkinsci.plugins.workflow.graph.FlowNode> |
isStageWithOptionalName(String stageName) |
public static com.google.common.base.Predicate<org.jenkinsci.plugins.workflow.graph.FlowNode> isStageWithOptionalName(String stageName)
public static com.google.common.base.Predicate<org.jenkinsci.plugins.workflow.graph.FlowNode> isStageWithOptionalName()
public static List<org.jenkinsci.plugins.workflow.graph.FlowNode> findPossiblyUnfinishedEndNodeForCurrentStage(String stageName, org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
public static List<org.jenkinsci.plugins.workflow.graph.FlowNode> findPossiblyUnfinishedEndNodeForCurrentStage(String stageName)
public static com.google.common.base.Predicate<org.jenkinsci.plugins.workflow.graph.FlowNode> isSomewhereWithinStage(org.jenkinsci.plugins.workflow.graph.FlowNode stageStartNode)
stageStartNode - Copyright © 2016–2020. All rights reserved.