| Modifier and Type | Method and Description |
|---|---|
static GenericStatus |
StatusAndTiming.coerceStatusApi(GenericStatus rawStatus,
StatusAndTiming.StatusApiVersion desiredVersion)
Use this to permit consuming this API without having to be aware of new
GenericStatus codes. |
static GenericStatus |
StatusAndTiming.computeChunkStatus(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graph.FlowNode before,
org.jenkinsci.plugins.workflow.graph.FlowNode firstNode,
org.jenkinsci.plugins.workflow.graph.FlowNode lastNode,
org.jenkinsci.plugins.workflow.graph.FlowNode after)
Deprecated.
|
static GenericStatus |
StatusAndTiming.computeChunkStatus(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graphanalysis.MemoryFlowChunk chunk)
Deprecated.
|
static GenericStatus |
StatusAndTiming.computeChunkStatus2(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graph.FlowNode before,
org.jenkinsci.plugins.workflow.graph.FlowNode firstNode,
org.jenkinsci.plugins.workflow.graph.FlowNode lastNode,
org.jenkinsci.plugins.workflow.graph.FlowNode after)
Compute the overall status for a chunk comprising firstNode through lastNode, inclusive
|
static GenericStatus |
StatusAndTiming.computeChunkStatus2(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graphanalysis.MemoryFlowChunk chunk)
Return status or null if not executed all (null FlowExecution)
Note: API consumers MUST use
StatusAndTiming.coerceStatusApi(GenericStatus, StatusApiVersion) on outputs
to safely handle addition of new statuses. |
static GenericStatus |
StatusAndTiming.condenseStatus(Collection<GenericStatus> statuses)
Combines the status results from a list of parallel branches to report a single overall status
|
static GenericStatus |
GenericStatus.fromResult(Result result)
Create a
GenericStatus from a Result |
static GenericStatus |
GenericStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericStatus[] |
GenericStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,GenericStatus> |
StatusAndTiming.computeBranchStatuses(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graph.FlowNode parallelStart,
List<org.jenkinsci.plugins.workflow.graph.BlockStartNode> branchStarts,
List<org.jenkinsci.plugins.workflow.graph.FlowNode> branchEnds,
org.jenkinsci.plugins.workflow.graph.FlowNode parallelEnd)
Deprecated.
|
static Map<String,GenericStatus> |
StatusAndTiming.computeBranchStatuses(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graphanalysis.ParallelMemoryFlowChunk parallel)
Deprecated.
|
static Map<String,GenericStatus> |
StatusAndTiming.computeBranchStatuses2(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graph.FlowNode parallelStart,
List<org.jenkinsci.plugins.workflow.graph.BlockStartNode> branchStarts,
List<org.jenkinsci.plugins.workflow.graph.FlowNode> branchEnds,
org.jenkinsci.plugins.workflow.graph.FlowNode parallelEnd)
Compute status codes for a set of parallel branches.
|
static Map<String,GenericStatus> |
StatusAndTiming.computeBranchStatuses2(org.jenkinsci.plugins.workflow.job.WorkflowRun run,
org.jenkinsci.plugins.workflow.graphanalysis.ParallelMemoryFlowChunk parallel)
Get statuses for each branch - note: some statuses may be null, API consumers MUST use
StatusAndTiming.coerceStatusApi(GenericStatus, StatusApiVersion) on outputs
to safely handle addition of new statuses. |
Set<GenericStatus> |
StatusAndTiming.StatusApiVersion.getAllowedStatuses()
Get set of legal status values
|
| Modifier and Type | Method and Description |
|---|---|
static GenericStatus |
StatusAndTiming.coerceStatusApi(GenericStatus rawStatus,
StatusAndTiming.StatusApiVersion desiredVersion)
Use this to permit consuming this API without having to be aware of new
GenericStatus codes. |
| Modifier and Type | Method and Description |
|---|---|
static GenericStatus |
StatusAndTiming.condenseStatus(Collection<GenericStatus> statuses)
Combines the status results from a list of parallel branches to report a single overall status
|
Copyright © 2016–2021. All rights reserved.