Class ThrottleJobProperty

    • Constructor Detail

      • ThrottleJobProperty

        @DataBoundConstructor
        public ThrottleJobProperty​(Integer maxConcurrentPerNode,
                                   Integer maxConcurrentTotal,
                                   List<String> categories,
                                   boolean throttleEnabled,
                                   String throttleOption,
                                   boolean limitOneJobWithMatchingParams,
                                   String paramsToUseForLimit,
                                   @CheckForNull
                                   ThrottleMatrixProjectOptions matrixOptions)
    • Method Detail

      • readResolve

        public Object readResolve()
        Migrates deprecated/obsolete data.
        Returns:
        Migrated version of the config
      • getThrottleEnabled

        public boolean getThrottleEnabled()
      • isLimitOneJobWithMatchingParams

        public boolean isLimitOneJobWithMatchingParams()
      • getThrottleOption

        public String getThrottleOption()
      • getCategories

        public List<String> getCategories()
      • getMaxConcurrentPerNode

        public Integer getMaxConcurrentPerNode()
      • getMaxConcurrentTotal

        public Integer getMaxConcurrentTotal()
      • getParamsToUseForLimit

        public String getParamsToUseForLimit()
      • isThrottleMatrixBuilds

        public boolean isThrottleMatrixBuilds()
        Check if the build throttles MatrixProjects.
        Returns:
        true if MatrixProjects should be throttled
        Since:
        1.8.3
      • isThrottleMatrixConfigurations

        public boolean isThrottleMatrixConfigurations()
        Check if the build throttles MatrixConfigurations.
        Returns:
        true if MatrixRuns should be throttled
        Since:
        1.8.3
      • getParamsToCompare

        public List<String> getParamsToCompare()