Class BuildKeeperPolicy
- java.lang.Object
-
- org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildKeeperPolicy>
- Direct Known Subclasses:
KeepFirstFailedPolicy
,PeriodAndFailedPolicy
,RunConditionPolicy
public abstract class BuildKeeperPolicy extends Object implements Describable<BuildKeeperPolicy>, ExtensionPoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildKeeperPolicy.BuildKeeperPolicyDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BuildKeeperPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<BuildKeeperPolicy,BuildKeeperPolicy.BuildKeeperPolicyDescriptor>
all()
abstract void
apply(AbstractBuild build, BuildListener listener)
BuildKeeperPolicy.BuildKeeperPolicyDescriptor
getDescriptor()
-
-
-
Method Detail
-
all
public static DescriptorExtensionList<BuildKeeperPolicy,BuildKeeperPolicy.BuildKeeperPolicyDescriptor> all()
-
apply
public abstract void apply(AbstractBuild build, BuildListener listener) throws IOException
- Throws:
IOException
-
getDescriptor
public BuildKeeperPolicy.BuildKeeperPolicyDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<BuildKeeperPolicy>
-
-