Package com.atlassian.bamboo.plan
Interface ExecutionStatus
-
- All Known Subinterfaces:
BuildExecution,ChainExecution,CurrentlyBuilding
- All Known Implementing Classes:
CurrentlyBuildingImpl
@PublicApi public interface ExecutionStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAverageDuration()Estimated total execution time of a task.@NotNull BuildChangesgetBuildChanges()Changes associated with current build@NotNull BuildIdentifiergetBuildIdentifier()The ID of the buildlonggetElapsedTime()How long the task has taken up to now.@NotNull ProgressBargetProgressBar()Track progress of the current build@Nullable DategetQueueTime()When the process was queued for execution@Nullable DategetStartTime()When was the execution started.@NotNull TriggerReasongetTriggerReason()The trigger reason of the current build
-
-
-
Method Detail
-
getBuildIdentifier
@NotNull @NotNull BuildIdentifier getBuildIdentifier()
The ID of the build- Returns:
- buildIdentifier
-
getTriggerReason
@NotNull @NotNull TriggerReason getTriggerReason()
The trigger reason of the current build- Returns:
- triggerReason
-
getBuildChanges
@NotNull @NotNull BuildChanges getBuildChanges()
Changes associated with current build- Returns:
- buildChanges
-
getStartTime
@Nullable @Nullable Date getStartTime()
When was the execution started.- Returns:
- Date - when the execution started
-
getQueueTime
@Nullable @Nullable Date 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
@NotNull @NotNull ProgressBar getProgressBar()
Track progress of the current build- Returns:
- progressBar
-
-