public final class Util extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getParentNodeWithTaskFinishedAction(org.jenkinsci.plugins.workflow.graph.FlowNode taskNode) |
static Run |
getRunById(List<Run> runs,
int buildNumber) |
static List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getTaskNodes(List<org.jenkinsci.plugins.workflow.graph.FlowNode> stageNodes) |
static <T> T |
head(List<T> list) |
static boolean |
isAnyParentNodeContainingTaskFinishedAction(org.jenkinsci.plugins.workflow.graph.FlowNode taskNode) |
public static List<org.jenkinsci.plugins.workflow.graph.FlowNode> getTaskNodes(List<org.jenkinsci.plugins.workflow.graph.FlowNode> stageNodes)
public static Optional<org.jenkinsci.plugins.workflow.graph.FlowNode> getParentNodeWithTaskFinishedAction(org.jenkinsci.plugins.workflow.graph.FlowNode taskNode)
public static boolean isAnyParentNodeContainingTaskFinishedAction(org.jenkinsci.plugins.workflow.graph.FlowNode taskNode)
public static <T> T head(List<T> list)
Copyright © 2016–2020 Diabol AB. All rights reserved.