Package jetbrains.buildServer
Interface QueuedBuild
-
- All Known Subinterfaces:
SQueuedBuild
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()
java.lang.Integer
getBuildAgentId()
Deprecated.usegetAgentRestrictor()
.java.lang.String
getBuildTypeId()
Returns corresponding build configuration internal id.java.lang.String
getItemId()
Returns unique id of this item in build queue.int
getOrderNumber()
Returns order number of this build in the queue starting from 1java.util.Date
getWhenQueued()
Returns date when configuration has been added to the queue.boolean
isPersonal()
Returns if the triggered build is personal.
-
-
-
Method Detail
-
getWhenQueued
@NotNull java.util.Date getWhenQueued()
Returns date when configuration has been added to the queue.- Returns:
- date when configuration has been added to the queue.
-
getItemId
@NotNull java.lang.String getItemId()
Returns unique id of this item in build queue.- Returns:
- id of this item.
-
getBuildTypeId
@NotNull java.lang.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 java.lang.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
-
-