Package jetbrains.buildServer.serverSide
Interface RunningBuildsCollection
-
- All Known Implementing Classes:
RunningBuildsCollectionImpl
public interface RunningBuildsCollection
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY
Regulates interval between updates of running builds collectionstatic int
TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY_DEFAULT
Default interval between updates of running builds collection
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RunningBuildEx
findRunningBuildById(long buildId)
Searches for a running build by specified build id.List<RunningBuildEx>
getRunningBuilds()
int
getSize()
Returns number of running builds
-
-
-
Field Detail
-
TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY
static final String TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY
Regulates interval between updates of running builds collection- See Also:
- Constant Field Values
-
TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY_DEFAULT
static final int TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY_DEFAULT
Default interval between updates of running builds collection- See Also:
- Constant Field Values
-
-
Method Detail
-
findRunningBuildById
@Nullable RunningBuildEx findRunningBuildById(long buildId)
Searches for a running build by specified build id.- Parameters:
buildId
- id of the build- Returns:
- running build with specified build id or null if there are no running build with such build id.
-
getRunningBuilds
@NotNull List<RunningBuildEx> getRunningBuilds()
-
getSize
int getSize()
Returns number of running builds- Returns:
- number of running builds
- Since:
- 2020.2
-
-