Class BuildQueueForm
- java.lang.Object
-
- jetbrains.buildServer.controllers.queue.BuildQueueForm
-
public class BuildQueueForm extends Object
- Author:
- Pavel.Sher Date: 03.10.2007
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyKey
AGENT_POOL_ID_FILTER_PROPERTY_KEY
-
Constructor Summary
Constructors Constructor Description BuildQueueForm(BuildQueueEx buildQueue, BuildAgentManager buildAgentManager, VirtualAgentsManager virtualAgentsManager, AgentPoolManager agentPoolManager, ProjectManager projectManager, CanRunOnAgentsCalculator canRunOnAgentsCalculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildQueueBean
getBuildTypeQueuedBuilds(BuildTypeEx buildType, BuildTypeBranchBean branchBean, String selectedItemId)
Returns a build queue bean for the provided build configuration, branch and selected itemint
getMaxQueuedBuildsToShow()
BuildQueueBean
getQueuedBuilds(SUser user)
Returns a build queue representation by taking the whole build queue and previously selected agent pool id (which is stored in the user properties)void
setMaxQueuedBuildsToShow(int maxQueuedBuildsToShow)
-
-
-
Field Detail
-
AGENT_POOL_ID_FILTER_PROPERTY_KEY
public static final PropertyKey AGENT_POOL_ID_FILTER_PROPERTY_KEY
-
-
Constructor Detail
-
BuildQueueForm
public BuildQueueForm(@NotNull BuildQueueEx buildQueue, @NotNull BuildAgentManager buildAgentManager, @NotNull VirtualAgentsManager virtualAgentsManager, @NotNull AgentPoolManager agentPoolManager, @NotNull ProjectManager projectManager, @NotNull CanRunOnAgentsCalculator canRunOnAgentsCalculator)
-
-
Method Detail
-
getQueuedBuilds
@NotNull public BuildQueueBean getQueuedBuilds(@NotNull SUser user)
Returns a build queue representation by taking the whole build queue and previously selected agent pool id (which is stored in the user properties)- Parameters:
user
-- Returns:
-
getBuildTypeQueuedBuilds
@NotNull public BuildQueueBean getBuildTypeQueuedBuilds(@NotNull BuildTypeEx buildType, @NotNull BuildTypeBranchBean branchBean, @Nullable String selectedItemId)
Returns a build queue bean for the provided build configuration, branch and selected item- Parameters:
buildType
-branchBean
-selectedItemId
-- Returns:
-
getMaxQueuedBuildsToShow
public int getMaxQueuedBuildsToShow()
-
setMaxQueuedBuildsToShow
public void setMaxQueuedBuildsToShow(int maxQueuedBuildsToShow)
-
-