Class RateLimitBranchProperty.JobPropertyImpl

    • Constructor Detail

      • JobPropertyImpl

        @DataBoundConstructor
        public JobPropertyImpl​(RateLimitBranchProperty.Throttle throttle)
        Constructor.
        Parameters:
        throttle - the throttle.
    • Method Detail

      • getCount

        public int getCount()
        Gets the maximum builds within the duration.
        Returns:
        the maximum builds within the duration.
      • getDurationName

        public String getDurationName()
        Gets the duration name.
        Returns:
        the duration name.
      • isUserBoost

        public boolean isUserBoost()
        Gets the user boost setting.
        Returns:
        the user boost setting.
      • getDuration

        public long getDuration()
        Gets the duration.
        Returns:
        the duration.
      • getMillisecondsBetweenBuilds

        public long getMillisecondsBetweenBuilds()
        Returns the minimum time between builds required to enforce the throttle.
        Returns:
        the minimum time between builds required to enforce the throttle.