Interface RunningBuildInfo
-
- All Known Subinterfaces:
RunningBuildEx
- All Known Implementing Classes:
BaseRunningBuild
,CompositeRunningBuild
,RunningBuildImpl
,RunningBuildWrapper
,SecuredCompositeRunningBuild
,SecuredRunningBuild
public interface RunningBuildInfo
Represents a running build for the build distribution algorithm- Since:
- 4.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SBuildAgent
getAgent()
BuildConfigurationInfo
getBuildConfiguration()
BuildPromotionInfo
getBuildPromotionInfo()
long
getEstimationForTimeLeft()
boolean
occupiesAgent()
-
-
-
Method Detail
-
getBuildConfiguration
@Nullable BuildConfigurationInfo getBuildConfiguration()
- Returns:
- the corresponding build configuration or null if the configuration has been concurrently deleted
-
getAgent
@NotNull SBuildAgent getAgent()
- Returns:
- the agent the build is running on
-
getEstimationForTimeLeft
long getEstimationForTimeLeft()
- Returns:
- the estimated time left in seconds counting from the moment of invocation or -1 if it cannot be estimated for some reason.
-
getBuildPromotionInfo
@NotNull BuildPromotionInfo getBuildPromotionInfo()
- Returns:
- Returns build promotion, associated with this running build
-
occupiesAgent
boolean occupiesAgent()
- Returns:
- true if the build executes on the agent.
- Since:
- 2019.2
-
-