public static class RateLimitBranchProperty.JobPropertyImpl
extends hudson.model.JobProperty<hudson.model.Job<?,?>>
Modifier and Type | Class and Description |
---|---|
static class |
RateLimitBranchProperty.JobPropertyImpl.DescriptorImpl
Our descriptor.
|
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 . |
@DataBoundConstructor public JobPropertyImpl(RateLimitBranchProperty.Throttle throttle)
throttle
- the throttle.public int getCount()
public String getDurationName()
public long getDuration()
public RateLimitBranchProperty.Throttle getThrottle()
RateLimitBranchProperty.Throttle
.RateLimitBranchProperty.Throttle
or null
if there is none.public long getMillisecondsBetweenBuilds()
Copyright © 2016–2017. All rights reserved.