org.jenkins_ci.plugins.build_cause_run_condition
Class BuildCauseCondition
java.lang.Object
org.jenkins_ci.plugins.build_cause_run_condition.BuildCauseCondition
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<BuildCauseCondition>
- Direct Known Subclasses:
- ExtendedCauseCondition.UpstreamCauseCondition, ExtendedCauseCondition.UserBuildCauseCondition
public abstract class BuildCauseCondition
- extends Object
- implements hudson.model.Describable<BuildCauseCondition>, hudson.ExtensionPoint
Abstract Build Cause condition that checks the build condition
- Author:
- Chris Johnson
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildCauseCondition
public BuildCauseCondition()
all
public static hudson.DescriptorExtensionList<BuildCauseCondition,BuildCauseConditionDescriptor> all()
runPerform
public abstract boolean runPerform(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws InterruptedException
- Performs the check of the condition
- Returns:
- true if the condition is allowed
false if not allowed to proceed.
- Throws:
InterruptedException
getDescriptor
public hudson.model.Descriptor<BuildCauseCondition> getDescriptor()
-
- Specified by:
getDescriptor
in interface hudson.model.Describable<BuildCauseCondition>
Copyright © 2004-2012. All Rights Reserved.