StageExecution

The runtime execution state of a stage.

public interface StageExecution

Types

LastModifiedDetails
Link copied to clipboard
class LastModifiedDetails

Functions

allDownstreamStages
Link copied to clipboard
@Nonnull()
abstract List<StageExecutionallDownstreamStages()
ancestors
Link copied to clipboard
@Nonnull()
abstract List<StageExecutionancestors()
appendErrorMessage
Link copied to clipboard
abstract void appendErrorMessage(String errorMessage)
decodeBase64
Link copied to clipboard
@Nonnull()
abstract O decodeBase64<O>(String pointer, Class<Otype)
directAncestors
Link copied to clipboard
@Nonnull()
abstract List<StageExecutiondirectAncestors()
directChildren
Link copied to clipboard
@Nonnull()
abstract List<StageExecutiondirectChildren()
downstreamStages
Link copied to clipboard
@Nonnull()
abstract List<StageExecutiondownstreamStages()
findAncestor
Link copied to clipboard
@Nullable()
abstract StageExecution findAncestor(Predicate<StageExecutionpredicate)
abstract boolean getAllowSiblingStagesToContinueOnFailure()
getContext
Link copied to clipboard

TODO(rz): Try to use StageContext instead?

@Nonnull()
abstract Map<String, ObjectgetContext()
getContinuePipelineOnFailure
Link copied to clipboard
abstract boolean getContinuePipelineOnFailure()
getEndTime
Link copied to clipboard

TODO(rz): Convert to Instant

@Nullable()
abstract Long getEndTime()
getExecution
Link copied to clipboard

TODO(rz): Rename to getPipelineExecution

@Nonnull()
abstract PipelineExecution getExecution()
getId
Link copied to clipboard
@Nonnull()
abstract String getId()
getLastModified
Link copied to clipboard
@Nullable()
abstract StageExecution.LastModifiedDetails getLastModified()
getName
Link copied to clipboard
@Nonnull()
abstract String getName()
getOutputs
Link copied to clipboard

TODO(rz): getOutputs(Class)?

@Nonnull()
abstract Map<String, ObjectgetOutputs()
getParent
Link copied to clipboard
@Nullable()
abstract StageExecution getParent()
getParentStageId
Link copied to clipboard
@Nullable()
abstract String getParentStageId()
getParentWithTimeout
Link copied to clipboard
@Nonnull()
abstract Optional<StageExecutiongetParentWithTimeout()
getRefId
Link copied to clipboard
@Nullable()
abstract String getRefId()
getRequisiteStageRefIds
Link copied to clipboard
@Nonnull()
abstract Collection<StringgetRequisiteStageRefIds()
getScheduledTime
Link copied to clipboard

TODO(rz): Convert to Instant

@Nullable()
abstract Long getScheduledTime()
getStartTime
Link copied to clipboard

TODO(rz): Convert to Instant

@Nullable()
abstract Long getStartTime()
getStartTimeExpiry
Link copied to clipboard

TODO(rz): Convert to Instant

@Nullable()
abstract Long getStartTimeExpiry()
getStatus
Link copied to clipboard
@Nonnull()
abstract ExecutionStatus getStatus()
getSyntheticStageOwner
Link copied to clipboard
@Nullable()
abstract SyntheticStageOwner getSyntheticStageOwner()
getTasks
Link copied to clipboard
@Nonnull()
abstract List<TaskExecutiongetTasks()
getTimeout
Link copied to clipboard
@Nonnull()
abstract Optional<LonggetTimeout()
getTopLevelStage
Link copied to clipboard
@Nonnull()
abstract StageExecution getTopLevelStage()
getType
Link copied to clipboard
@Nonnull()
abstract String getType()
isJoin
Link copied to clipboard
abstract boolean isJoin()
mapTo
Link copied to clipboard
@Nonnull()
abstract O mapTo<O>(Class<Otype)
@Nonnull()
abstract O mapTo<O>(String pointer, Class<Otype)
resolveStrategyParams
Link copied to clipboard
abstract void resolveStrategyParams()
abstract void setAllowSiblingStagesToContinueOnFailure(boolean allowSiblingStagesToContinueOnFailure)
setContext
Link copied to clipboard
abstract void setContext(Map<String, Objectcontext)
setContinuePipelineOnFailure
Link copied to clipboard
abstract void setContinuePipelineOnFailure(boolean continuePipelineOnFailure)
setEndTime
Link copied to clipboard
abstract void setEndTime(Long endTime)
setExecution
Link copied to clipboard
abstract void setExecution(PipelineExecution execution)
setId
Link copied to clipboard
abstract void setId(String id)
setLastModified
Link copied to clipboard
abstract void setLastModified(StageExecution.LastModifiedDetails lastModified)
setName
Link copied to clipboard
abstract void setName(String name)
setOutputs
Link copied to clipboard
abstract void setOutputs(Map<String, Objectoutputs)
setParentStageId
Link copied to clipboard
abstract void setParentStageId(String parentStageId)
setRefId
Link copied to clipboard
abstract void setRefId(String refId)
setRequisiteStageRefIds
Link copied to clipboard
abstract void setRequisiteStageRefIds(Collection<StringrequisiteStageRefIds)
setScheduledTime
Link copied to clipboard
abstract void setScheduledTime(Long scheduledTime)
setStartTime
Link copied to clipboard
abstract void setStartTime(Long startTime)
setStartTimeExpiry
Link copied to clipboard
abstract void setStartTimeExpiry(Long startTimeExpiry)
setStatus
Link copied to clipboard
abstract void setStatus(ExecutionStatus status)
setSyntheticStageOwner
Link copied to clipboard
abstract void setSyntheticStageOwner(SyntheticStageOwner syntheticStageOwner)
setTasks
Link copied to clipboard
abstract void setTasks(List<TaskExecutiontasks)
setType
Link copied to clipboard
abstract void setType(String type)
taskById
Link copied to clipboard
abstract TaskExecution taskById(String taskId)