|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface CurrentlyBuilding
This object encapsulates the BuildContext
that'd being built and the BuildAgent
id it's related to
Method Summary | |
---|---|
java.lang.Long |
getBuildAgentId()
|
java.lang.Long |
getBuildAverageDuration()
How long on average has the build taken in the past. |
BuildChanges |
getBuildChanges()
|
BuildIdentifier |
getBuildIdentifier()
|
java.lang.Long |
getBuildTime()
How long has the build taken so far? |
java.util.Collection<BuildAgent> |
getExecutableBuildAgents()
Get the list of executable agents for this build. |
BuildProgressBar |
getProgressBar()
Track our progress |
java.util.Date |
getStartTime()
When was the build was started |
TriggerReason |
getTriggerReason()
|
boolean |
hasExecutableAgents()
Determine whether this plan currently has any agent that can run it. |
boolean |
isCurrentlyQueuedOnly()
|
void |
setBuildAgentId(java.lang.Long agentId)
|
void |
startTimer()
Starts an internal timer to the currently running build |
void |
stopTimer()
Stops the internal timer for the current running build |
Method Detail |
---|
BuildIdentifier getBuildIdentifier()
@Nullable java.lang.Long getBuildAgentId()
void setBuildAgentId(@NotNull java.lang.Long agentId)
boolean isCurrentlyQueuedOnly()
TriggerReason getTriggerReason()
BuildChanges getBuildChanges()
@Nullable java.util.Date getStartTime()
void startTimer()
void stopTimer()
BuildProgressBar getProgressBar()
java.lang.Long getBuildTime()
Long
representing build time - in millisjava.lang.Long getBuildAverageDuration()
Long
representing build average duration - in millis@NotNull java.util.Collection<BuildAgent> getExecutableBuildAgents()
boolean hasExecutableAgents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |