Class KeepSincePolicy
- java.lang.Object
-
- org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
-
- org.jenkins_ci.plugins.build_keeper.PeriodAndFailedPolicy
-
- org.jenkins_ci.plugins.build_keeper.KeepSincePolicy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildKeeperPolicy>
public class KeepSincePolicy extends PeriodAndFailedPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeepSincePolicy.KeepSincePolicyDescriptor
-
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 KeepSincePolicy(int buildPeriod, boolean dontKeepFailed)
-
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
-
-