Package jenkins.branch
Class RateLimitBranchProperty.JobPropertyImpl
- All Implemented Interfaces:
- ExtensionPoint,- Describable<JobProperty<?>>,- ReconfigurableDescribable<JobProperty<?>>,- BuildStep
- Enclosing class:
- RateLimitBranchProperty
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classOur descriptor.Nested classes/interfaces inherited from interface hudson.tasks.BuildStepBuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class hudson.model.JobPropertyownerFields inherited from interface hudson.tasks.BuildStepBUILDERS, PUBLISHERS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetCount()Gets the maximum builds within the duration.longGets the duration.Gets the duration name.longReturns the minimum time between builds required to enforce the throttle.Returns theRateLimitBranchProperty.Throttle.booleanGets the user boost setting.Methods inherited from class hudson.model.JobPropertygetDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
- 
Constructor Details- 
JobPropertyImplConstructor.- Parameters:
- throttle- the throttle.
 
 
- 
- 
Method Details- 
getCountpublic int getCount()Gets the maximum builds within the duration.- Returns:
- the maximum builds within the duration.
 
- 
getDurationNameGets the duration name.- Returns:
- the duration name.
 
- 
isUserBoostpublic boolean isUserBoost()Gets the user boost setting.- Returns:
- the user boost setting.
 
- 
getDurationpublic long getDuration()Gets the duration.- Returns:
- the duration.
 
- 
getThrottleReturns theRateLimitBranchProperty.Throttle.- Returns:
- the RateLimitBranchProperty.Throttleornullif there is none.
 
- 
getMillisecondsBetweenBuildspublic long getMillisecondsBetweenBuilds()Returns the minimum time between builds required to enforce the throttle.- Returns:
- the minimum time between builds required to enforce the throttle.
 
 
-