Class NodeRunStatus
java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.NodeRunStatus
- Author:
- Vivek Pandey
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNodeRunStatus(GenericStatus status) NodeRunStatus(GenericStatus status, boolean skipped) NodeRunStatus(BlueRun.BlueRunResult result, BlueRun.BlueRunState state) NodeRunStatus(org.jenkinsci.plugins.workflow.graph.FlowNode endNode) NodeRunStatus(org.jenkinsci.plugins.workflow.graph.FlowNode endNode, Set<String> activeNodeIds) WhenactiveNodeIdsis non-null, liveness is read from the set rather than fromFlowNode.isActive(). -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeRunStatuscombine(List<NodeRunStatus> statuses) Combines the statuses of several nodes shown together.getState()boolean
-
Field Details
-
result
-
state
-
-
Constructor Details
-
NodeRunStatus
public NodeRunStatus(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode endNode) -
NodeRunStatus
public NodeRunStatus(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode endNode, @CheckForNull Set<String> activeNodeIds) WhenactiveNodeIdsis non-null, liveness is read from the set rather than fromFlowNode.isActive(). -
NodeRunStatus
-
NodeRunStatus
-
NodeRunStatus
-
-
Method Details
-
combine
Combines the statuses of several nodes shown together. The result is the worst one, ranked as Jenkins ranks build results. The state is the one that most needs attention: running, then paused, then queued, and finished only when all of them are. -
getResult
-
getState
-
wasExecuted
public boolean wasExecuted()
-