Class RateLimitBranchProperty.JobPropertyImpl

java.lang.Object
hudson.model.JobProperty<Job<?,?>>
jenkins.branch.RateLimitBranchProperty.JobPropertyImpl
All Implemented Interfaces:
ExtensionPoint, Describable<JobProperty<?>>, ReconfigurableDescribable<JobProperty<?>>, BuildStep
Enclosing class:
RateLimitBranchProperty

public static class RateLimitBranchProperty.JobPropertyImpl extends JobProperty<Job<?,?>>
  • Constructor Details

  • Method Details

    • 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.
    • getThrottle

      public RateLimitBranchProperty.Throttle getThrottle()
      Returns:
      the RateLimitBranchProperty.Throttle or null if there is none.
    • 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.