Package jetbrains.buildServer
Interface QueuedBuild
-
- All Known Subinterfaces:
QueuedBuildEx
,SQueuedBuild
- All Known Implementing Classes:
QueuedBuildImpl
,SecuredQueuedBuild
public interface QueuedBuild
Information about configuration being currently in build queue.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AgentRestrictor
getAgentRestrictor()
Integer
getBuildAgentId()
Deprecated.usegetAgentRestrictor()
.String
getBuildTypeId()
Returns corresponding build configuration internal id.String
getItemId()
Returns unique id of this item in build queue.int
getOrderNumber()
Returns order number of this build in the queue starting from 1Date
getWhenQueued()
Returns date when configuration has been added to the queue.boolean
isPersonal()
Returns if the triggered build is personal.
-
-
-
Method Detail
-
getWhenQueued
@NotNull Date getWhenQueued()
Returns date when configuration has been added to the queue.- Returns:
- date when configuration has been added to the queue.
-
getItemId
@NotNull String getItemId()
Returns unique id of this item in build queue.- Returns:
- id of this item.
-
getBuildTypeId
@NotNull String getBuildTypeId()
Returns corresponding build configuration internal id. For personal builds, returns configurationId for the personal build.- Returns:
- corresponding build configuration internal id.
-
getBuildAgentId
@Deprecated @Nullable Integer getBuildAgentId()
Deprecated.usegetAgentRestrictor()
. If build configuration scheduled to some specific build agent, the id of the build agent is returned, otherwise null is returned.- Returns:
- build agent id to run build on or null
-
getAgentRestrictor
@Nullable AgentRestrictor getAgentRestrictor()
- Returns:
- agent restrictor if the build is assigned to a specific set of agents, null otherwise.
- Since:
- 7.0
-
isPersonal
boolean isPersonal()
Returns if the triggered build is personal.- Returns:
- if the triggered build is personal.
-
getOrderNumber
int getOrderNumber()
Returns order number of this build in the queue starting from 1- Returns:
- order number of this build
-
-