hudson.plugins.parameterizedtrigger
Class BlockableBuildTriggerConfig
java.lang.Object
hudson.plugins.parameterizedtrigger.BuildTriggerConfig
hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig
- All Implemented Interfaces:
- hudson.model.Describable<BuildTriggerConfig>
public class BlockableBuildTriggerConfig
- extends BuildTriggerConfig
BuildTriggerConfig that supports blocking of the execution.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BlockableBuildTriggerConfig
@DataBoundConstructor
public BlockableBuildTriggerConfig(java.lang.String projects,
BlockingBehaviour block,
java.util.List<AbstractBuildParameters> configs)
getBlock
public BlockingBehaviour getBlock()
perform
public java.util.List<java.util.concurrent.Future<hudson.model.AbstractBuild>> perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Description copied from class:
BuildTriggerConfig
- Note that with Hudson 1.341, trigger should be using
BuildTrigger.buildDependencyGraph(AbstractProject, hudson.model.DependencyGraph).
- Overrides:
perform in class BuildTriggerConfig
- Throws:
java.lang.InterruptedException
java.io.IOException
schedule
protected java.util.concurrent.Future schedule(hudson.model.AbstractBuild<?,?> build,
hudson.model.AbstractProject project,
java.util.List<hudson.model.Action> list)
throws java.lang.InterruptedException,
java.io.IOException
- Overrides:
schedule in class BuildTriggerConfig
- Throws:
java.lang.InterruptedException
java.io.IOException
Copyright © 2004-2011. All Rights Reserved.