com.atlassian.bamboo.plan
Interface ExecutionStatus

All Known Subinterfaces:
ChainExecution, CurrentlyBuilding
All Known Implementing Classes:
CurrentlyBuildingImpl

public interface ExecutionStatus


Method Summary
 long getAverageDuration()
          Estimated total execution time of a task.
 BuildChanges getBuildChanges()
          Changes associated with current build
 BuildIdentifier getBuildIdentifier()
          The ID of the build
 long getElapsedTime()
          How long the task has taken up to now.
 ProgressBar getProgressBar()
          Track progress of the current build
 java.util.Date getStartTime()
          When was the execution started.
 TriggerReason getTriggerReason()
          The trigger reason of the current build
 

Method Detail

getBuildIdentifier

@NotNull
BuildIdentifier getBuildIdentifier()
The ID of the build

Returns:

getTriggerReason

@NotNull
TriggerReason getTriggerReason()
The trigger reason of the current build

Returns:

getBuildChanges

@NotNull
BuildChanges getBuildChanges()
Changes associated with current build

Returns:

getStartTime

@Nullable
java.util.Date getStartTime()
When was the execution started.

Returns:
Date - when the execution started

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
ProgressBar getProgressBar()
Track progress of the current build

Returns:


Copyright © 2010 Atlassian. All Rights Reserved.