public static class RateLimitBranchProperty.JobPropertyImpl extends JobProperty<Job<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
RateLimitBranchProperty.JobPropertyImpl.DescriptorImpl
Our descriptor.
|
BuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonownerBUILDERS, PUBLISHERS| Constructor and Description |
|---|
JobPropertyImpl(RateLimitBranchProperty.Throttle throttle)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Gets the maximum builds within the duration.
|
long |
getDuration()
Gets the duration.
|
String |
getDurationName()
Gets the duration name.
|
long |
getMillisecondsBetweenBuilds()
Returns the minimum time between builds required to enforce the throttle.
|
RateLimitBranchProperty.Throttle |
getThrottle()
Returns the
RateLimitBranchProperty.Throttle. |
boolean |
isUserBoost()
Gets the user boost setting.
|
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner@DataBoundConstructor public JobPropertyImpl(RateLimitBranchProperty.Throttle throttle)
throttle - the throttle.public int getCount()
public String getDurationName()
public boolean isUserBoost()
public long getDuration()
public RateLimitBranchProperty.Throttle getThrottle()
RateLimitBranchProperty.Throttle.RateLimitBranchProperty.Throttle or null if there is none.public long getMillisecondsBetweenBuilds()
Copyright © 2016–2019. All rights reserved.