Class RunConditionPolicy
- java.lang.Object
-
- org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
-
- org.jenkins_ci.plugins.build_keeper.RunConditionPolicy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildKeeperPolicy>
public class RunConditionPolicy extends BuildKeeperPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunConditionPolicy.RunConditionPolicyDescriptor
-
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 RunConditionPolicy(org.jenkins_ci.plugins.run_condition.RunCondition runCondition, boolean keepBuildIfEvalFails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(AbstractBuild build, BuildListener listener)
org.jenkins_ci.plugins.run_condition.RunCondition
getRunCondition()
boolean
isKeepBuildIfEvalFails()
-
Methods inherited from class org.jenkins_ci.plugins.build_keeper.BuildKeeperPolicy
all, getDescriptor
-
-
-
-
Method Detail
-
getRunCondition
public org.jenkins_ci.plugins.run_condition.RunCondition getRunCondition()
-
isKeepBuildIfEvalFails
public boolean isKeepBuildIfEvalFails()
-
apply
public void apply(AbstractBuild build, BuildListener listener) throws IOException
- Specified by:
apply
in classBuildKeeperPolicy
- Throws:
IOException
-
-