public interface SQueuedBuild extends QueuedBuild, BuildPromotionOwner, CompatibleAgents
| Modifier and Type | Method and Description |
|---|---|
SBuildAgent |
getBuildAgent()
Deprecated.
use
QueuedBuild.getAgentRestrictor().
Returns actual agent to which build configuration is scheduled or null if there is no such agent or build configuration is not scheduled to a specific agent. |
BuildEstimates |
getBuildEstimates()
Returns a BuildEstimates object describing the estimated values of the pending build.
|
SBuildType |
getBuildType() |
java.util.List<SBuildAgent> |
getCanRunOnAgents()
Returns agents this build can run on
|
java.util.Map<SBuildAgent,CompatibilityResult> |
getCompatibilityMap()
Returns compatibility map, key is an agent and value is compatibility result.
|
java.lang.String |
getRequestor()
Deprecated.
see
getTriggeredBy() |
TriggeredBy |
getTriggeredBy()
Returns details about who and how added this build in queue.
|
void |
removeFromQueue(User user,
java.lang.String comment)
Removes this queued build from the build queue
|
getAgentRestrictor, getBuildAgentId, getBuildTypeId, getItemId, getOrderNumber, getWhenQueued, isPersonalgetBuildPromotion, getSequenceBuildgetAgentCompatibility, getCompatibleAgents@NotNull SBuildType getBuildType() throws BuildTypeNotFoundException
BuildTypeNotFoundException - if build configuration to which this queued build corresponds does not exist@NotNull java.util.List<SBuildAgent> getCanRunOnAgents()
@NotNull java.util.Map<SBuildAgent,CompatibilityResult> getCompatibilityMap()
CompatibleAgentsgetCompatibilityMap in interface CompatibleAgents@Deprecated @Nullable SBuildAgent getBuildAgent()
QueuedBuild.getAgentRestrictor().
Returns actual agent to which build configuration is scheduled or null if there is no such agent or build configuration is not scheduled to a specific agent.@Nullable BuildEstimates getBuildEstimates()
void removeFromQueue(@Nullable
User user,
java.lang.String comment)
user - user who initiated removecomment - comment@Deprecated @NotNull java.lang.String getRequestor()
getTriggeredBy()TriggeredBy getTriggeredBy()