Class BuildQueueForm


  • public class BuildQueueForm
    extends Object
    Author:
    Pavel.Sher Date: 03.10.2007
    • Field Detail

      • AGENT_POOL_ID_FILTER_PROPERTY_KEY

        public static final PropertyKey AGENT_POOL_ID_FILTER_PROPERTY_KEY
    • 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)