Uses of Class
org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus
-
-
Uses of GenericStatus in org.jenkinsci.plugins.workflow.pipelinegraphanalysis
Methods in org.jenkinsci.plugins.workflow.pipelinegraphanalysis that return GenericStatus Modifier and Type Method Description static GenericStatus
StatusAndTiming. coerceStatusApi(GenericStatus rawStatus, StatusAndTiming.StatusApiVersion desiredVersion)
Use this to permit consuming this API without having to be aware of newGenericStatus
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, inclusivestatic 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 useStatusAndTiming.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 statusstatic GenericStatus
GenericStatus. fromResult(Result result)
Create aGenericStatus
from aResult
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.Methods in org.jenkinsci.plugins.workflow.pipelinegraphanalysis that return types with arguments of type GenericStatus Modifier and Type Method 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 useStatusAndTiming.coerceStatusApi(GenericStatus, StatusApiVersion)
on outputs to safely handle addition of new statuses.Set<GenericStatus>
StatusAndTiming.StatusApiVersion. getAllowedStatuses()
Get set of legal status valuesMethods in org.jenkinsci.plugins.workflow.pipelinegraphanalysis with parameters of type GenericStatus Modifier and Type Method Description static GenericStatus
StatusAndTiming. coerceStatusApi(GenericStatus rawStatus, StatusAndTiming.StatusApiVersion desiredVersion)
Use this to permit consuming this API without having to be aware of newGenericStatus
codes.Method parameters in org.jenkinsci.plugins.workflow.pipelinegraphanalysis with type arguments of type GenericStatus Modifier and Type Method Description static GenericStatus
StatusAndTiming. condenseStatus(Collection<GenericStatus> statuses)
Combines the status results from a list of parallel branches to report a single overall status
-