Class ByDayPolicy
- java.lang.Object
-
- org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
-
- org.jenkins_ci.plugins.build_keeper.PeriodAndFailedPolicy
-
- org.jenkins_ci.plugins.build_keeper.ByDayPolicy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildKeeperPolicy>
public class ByDayPolicy extends PeriodAndFailedPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ByDayPolicy.ByDayPolicyDescriptor
-
Nested classes/interfaces inherited from class org.jenkins_ci.plugins.build_keeper.PeriodAndFailedPolicy
PeriodAndFailedPolicy.PeriodAndFailedPolicyDescriptor
-
Nested classes/interfaces inherited from class org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
BuildKeeperPolicy.BuildKeeperPolicyDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ByDayPolicy(int buildPeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(AbstractBuild build, BuildListener listener)
-
Methods inherited from class org.jenkins_ci.plugins.build_keeper.PeriodAndFailedPolicy
getBuildPeriod, isDontKeepFailed, isKeepFailed
-
Methods inherited from class org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
all, getDescriptor
-
-
-
-
Method Detail
-
apply
public void apply(AbstractBuild build, BuildListener listener) throws IOException
- Specified by:
apply
in classBuildKeeperPolicy
- Throws:
IOException
-
-