Package com.atlassian.bamboo.plan
Interface ExecutionStatus
- All Known Subinterfaces:
BuildExecution,ChainExecution,CurrentlyBuilding
- All Known Implementing Classes:
CurrentlyBuildingImpl
@PublicApi
public interface ExecutionStatus
-
Method Summary
Modifier and TypeMethodDescriptionlongEstimated total execution time of a task.@NotNull BuildChangesChanges associated with current build@NotNull BuildIdentifierThe ID of the buildlongHow long the task has taken up to now.@NotNull ProgressBarTrack progress of the current build@Nullable DateWhen the process was queued for execution@Nullable DateWhen was the execution started.@NotNull TriggerReasonThe trigger reason of the current build
-
Method Details
-
getBuildIdentifier
The ID of the build- Returns:
- buildIdentifier
-
getTriggerReason
The trigger reason of the current build- Returns:
- triggerReason
-
getBuildChanges
Changes associated with current build- Returns:
- buildChanges
-
getStartTime
When was the execution started.- Returns:
- Date - when the execution started
-
getQueueTime
When the process was queued for execution- Returns:
- Date - when the process was queued for execution
-
getAverageDuration
long getAverageDuration()Estimated total execution time of a task.- Returns:
- long representing estimated execution time - in millis
-
getElapsedTime
long getElapsedTime()How long the task has taken up to now.- Returns:
- long representing task's elapsed time - in millis
-
getProgressBar
Track progress of the current build- Returns:
- progressBar
-