Class BuildNumberRangeCondition
java.lang.Object
hudson.model.AbstractDescribableImpl<Condition>
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.Condition
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.BuildNumberRangeCondition
- All Implemented Interfaces:
Describable<Condition>
Matches builds with build number between given number range.
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
matches
(Run<?, ?> run, RuleConfiguration configuration) Decides if the build matches given criteria to be updated or not.void
setMaxBuildNumber
(int maxBuildNumber) void
setMinBuildNumber
(int minBuildNumber) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
BuildNumberRangeCondition
@DataBoundConstructor public BuildNumberRangeCondition()
-
-
Method Details
-
getMinBuildNumber
public int getMinBuildNumber() -
setMinBuildNumber
@DataBoundSetter public void setMinBuildNumber(int minBuildNumber) -
getMaxBuildNumber
public int getMaxBuildNumber() -
setMaxBuildNumber
@DataBoundSetter public void setMaxBuildNumber(int maxBuildNumber) -
matches
Description copied from class:Condition
Decides if the build matches given criteria to be updated or not.
-