Class BuildAgeRangeCondition
java.lang.Object
hudson.model.AbstractDescribableImpl<Condition>
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.Condition
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.BuildAgeRangeCondition
- All Implemented Interfaces:
Describable<Condition>
Matches builds that age is between given days range. It calculates days only without checking build time.
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
int
int
boolean
matches
(Run<?, ?> run, RuleConfiguration configuration) Decides if the build matches given criteria to be updated or not.void
setMaxDaysAge
(int maxDaysAge) void
setMinDaysAge
(int minDaysAge) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
BuildAgeRangeCondition
@DataBoundConstructor public BuildAgeRangeCondition()
-
-
Method Details
-
getMinDaysAge
public int getMinDaysAge() -
setMinDaysAge
@DataBoundSetter public void setMinDaysAge(int minDaysAge) -
getMaxDaysAge
public int getMaxDaysAge() -
setMaxDaysAge
@DataBoundSetter public void setMaxDaysAge(int maxDaysAge) -
matches
Description copied from class:Condition
Decides if the build matches given criteria to be updated or not. -
clearTime
-