jetbrains.buildServer
Interface RunningBuild

All Superinterfaces:
Build
All Known Subinterfaces:
SRunningBuild

public interface RunningBuild
extends Build

Running build specific information


Method Summary
 long getDurationEstimate()
          Returns server estimation for this build duration in seconds.
 long getDurationOvertime()
          Returns how much in seconds this build duration exceeded estimated duration.
 long getElapsedTime()
          Returns elapsed time for this build.
 long getEstimationForTimeLeft()
          Returns server estimation for this build remaining time.
 
Methods inherited from interface jetbrains.buildServer.Build
getAgentName, getBuildId, getBuildNumber, getBuildStatus, getBuildType, getBuildTypeId, getBuildTypeName, getCanceledInfo, getChanges, getCommitters, getCompilationErrorMessages, getContainingChanges, getDuration, getFinishDate, getFullName, getLogMessages, getProjectId, getStartDate, getStatusDescriptor, getTestMessages, isFinished, isPersonal
 

Method Detail

getEstimationForTimeLeft

long getEstimationForTimeLeft()
Returns server estimation for this build remaining time.

Returns:
estimation for time left to finish the build in seconds or -1 if estimate is not available.

getDurationEstimate

long getDurationEstimate()
Returns server estimation for this build duration in seconds.

Returns:
build duration estimation in seconds or -1 if estimate is not available.

getDurationOvertime

long getDurationOvertime()
Returns how much in seconds this build duration exceeded estimated duration.

Returns:
how much in seconds this build duration exceeded estimated duration or -1 if estimate is not available.

getElapsedTime

long getElapsedTime()
Returns elapsed time for this build.

Returns:
elapsed time for this build in seconds.