Interface QueuedBuildInfo
-
- All Superinterfaces:
Loggable
- All Known Subinterfaces:
QueuedBuildEx
- All Known Implementing Classes:
QueuedBuildImpl,SecuredQueuedBuild
public interface QueuedBuildInfo extends Loggable
Represents build waiting in the queue specific information for the build distribution algorithm- Since:
- 4.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AgentRestrictorgetAgentRestrictor()IntegergetBuildAgentId()Deprecated.usegetAgentRestrictor().BuildConfigurationInfogetBuildConfiguration()BuildPromotionInfogetBuildPromotionInfo()Returns build promotion, associated with this queued buildCollection<SBuildAgent>getCompatibleAgents(Collection<SBuildAgent> availableAgents)Takes collection of agents as an argument and returns those which are compatible with current queued buildStringgetItemId()Returns unique id corresponding to this queued build info.
-
-
-
Method Detail
-
getItemId
@NotNull 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. since 9.1: if build configuration does not exist, returns null object.
-
getBuildAgentId
@Deprecated @Nullable Integer getBuildAgentId()
Deprecated.usegetAgentRestrictor().- 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
-
getCompatibleAgents
@NotNull Collection<SBuildAgent> getCompatibleAgents(@NotNull Collection<SBuildAgent> availableAgents)
Takes collection of agents as an argument and returns those which are compatible with current queued build- Parameters:
availableAgents- collection of agents- Returns:
- see above
- Since:
- 2019.2
-
-