public static class RateLimitBranchProperty.Throttle extends Object
Constructor and Description |
---|
Throttle(int count,
String durationName)
Constructor for stapler.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Gets the maximum builds within the duration.
|
String |
getDurationName()
Gets the duration.
|
@DataBoundConstructor public Throttle(int count, String durationName)
count
- the maximum builds within the duration.durationName
- the name of the duration.public int getCount()
public String getDurationName()
Copyright © 2016–2017. All rights reserved.