org.jenkins_ci.plugins.build_keeper
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:
- hudson.ExtensionPoint, hudson.model.Describable<BuildKeeperPolicy>
public class KeepSincePolicy
- extends PeriodAndFailedPolicy
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary |
KeepSincePolicy(int buildPeriod,
boolean dontKeepFailed)
|
Method Summary |
void |
apply(hudson.model.AbstractBuild build,
hudson.model.BuildListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeepSincePolicy
@DataBoundConstructor
public KeepSincePolicy(int buildPeriod,
boolean dontKeepFailed)
apply
public void apply(hudson.model.AbstractBuild build,
hudson.model.BuildListener listener)
throws IOException
- Specified by:
apply
in class BuildKeeperPolicy
- Throws:
IOException
Copyright © 2004-2012. All Rights Reserved.