Package com.atlassian.bamboo.chains
Interface ChainExecution
- All Superinterfaces:
ExecutionStatus
Represents an executing
Chain
-
Method Summary
Modifier and TypeMethodDescription<T> T
getConfigObject
(String key, Class<T> aClass) Get configuration object produced byPlanConfigurationUiPlugin
@Nullable StageExecution
The currentStageExecution
@NotNull ExecutionContext
Stores contextual data for the currentChainExecution
@NotNull String
getName()
Gets the name of the executing Chain@NotNull PlanResultKey
Get the result key@NotNull List<StageExecution>
Get Stages for this Chain@NotNull TriggerReason
Get theTriggerReason
for the currentChainExecution
boolean
Returns true if the chain has finished executingboolean
isFailed()
Returns true if the chain execution has failedboolean
Returns true if the chain is undergoing a 'stop' operationboolean
Returns true if theChain
has been requested to stop executionboolean
Returns true if the chain has finished executing successfullyMethods inherited from interface com.atlassian.bamboo.plan.ExecutionStatus
getAverageDuration, getBuildChanges, getBuildIdentifier, getElapsedTime, getProgressBar, getQueueTime, getStartTime
-
Method Details
-
getName
Gets the name of the executing Chain- Returns:
- name
-
getPlanResultKey
Get the result key- Returns:
- resultKey
-
getStages
Get Stages for this Chain- Returns:
- stages
-
isCompleted
boolean isCompleted()Returns true if the chain has finished executing- Returns:
- false
-
isSuccessful
boolean isSuccessful()Returns true if the chain has finished executing successfully- Returns:
- success
-
isFailed
boolean isFailed()Returns true if the chain execution has failed- Returns:
- failure
-
isStopping
boolean isStopping()Returns true if the chain is undergoing a 'stop' operation- Returns:
- stopping
-
isStopRequested
boolean isStopRequested()Returns true if theChain
has been requested to stop execution- Returns:
- stopRequested
-
getExecutionContext
Stores contextual data for the currentChainExecution
- Returns:
- executionContext
-
getCurrentStage
The currentStageExecution
- Returns:
- stageExecution
-
getTriggerReason
Get theTriggerReason
for the currentChainExecution
- Specified by:
getTriggerReason
in interfaceExecutionStatus
- Returns:
- triggerReason
-
getConfigObject
Get configuration object produced byPlanConfigurationUiPlugin
- Parameters:
key
-aClass
-- Returns:
- configObject
- Since:
- 3.0
-