jetbrains.buildServer.serverSide.buildDistribution
Interface QueuedBuildInfo


public interface QueuedBuildInfo

Represents build waiting in the queue specific information for the build distribution algorithm

Since:
4.5

Method Summary
 AgentRestrictor getAgentRestrictor()
           
 java.lang.Integer getBuildAgentId()
          Deprecated. use getAgentRestrictor().
 BuildConfigurationInfo getBuildConfiguration()
           
 BuildPromotionInfo getBuildPromotionInfo()
          Returns build promotion, associated with this queued build
 java.lang.String getItemId()
          Returns unique id corresponding to this queued build info.
 

Method Detail

getItemId

@NotNull
java.lang.String getItemId()
Returns unique id corresponding to this queued build info.

Returns:
unique id corresponding to this queued build info.

getBuildConfiguration

@NotNull
BuildConfigurationInfo getBuildConfiguration()
Returns:
configuration specific information related to this build.

getBuildAgentId

@Deprecated
@Nullable
java.lang.Integer getBuildAgentId()
Deprecated. use getAgentRestrictor().

Returns:
the agent id the build is assigned to or null, if the build isn't assigned to a specific agent.

getAgentRestrictor

@Nullable
AgentRestrictor getAgentRestrictor()
Returns:
agent restrictor if the build is assigned to a specific set of agents, null otherwise.
Since:
7.0

getBuildPromotionInfo

@NotNull
BuildPromotionInfo getBuildPromotionInfo()
Returns build promotion, associated with this queued build