|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.parameterizedtrigger.BuildTriggerConfig
hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig
public class BlockableBuildTriggerConfig
BuildTriggerConfig that supports blocking of the execution.
| Nested Class Summary | |
|---|---|
static class |
BlockableBuildTriggerConfig.DescriptorImpl
|
| Constructor Summary | |
|---|---|
BlockableBuildTriggerConfig(String projects,
BlockingBehaviour block,
List<AbstractBuildParameters> configs)
|
|
| Method Summary | |
|---|---|
BlockingBehaviour |
getBlock()
|
List<Future<hudson.model.AbstractBuild>> |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Note that with Hudson 1.341, trigger should be using BuildTrigger.buildDependencyGraph(AbstractProject, hudson.model.DependencyGraph). |
protected Future |
schedule(hudson.model.AbstractBuild<?,?> build,
hudson.model.AbstractProject project,
List<hudson.model.Action> list)
|
| Methods inherited from class hudson.plugins.parameterizedtrigger.BuildTriggerConfig |
|---|
getCondition, getConfigs, getDescriptor, getProjectList, getProjects, getTriggerWithNoParameters, onDeleted, onJobRenamed, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public BlockableBuildTriggerConfig(String projects,
BlockingBehaviour block,
List<AbstractBuildParameters> configs)
| Method Detail |
|---|
public BlockingBehaviour getBlock()
public List<Future<hudson.model.AbstractBuild>> perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
BuildTriggerConfigBuildTrigger.buildDependencyGraph(AbstractProject, hudson.model.DependencyGraph).
perform in class BuildTriggerConfigInterruptedException
IOException
protected Future schedule(hudson.model.AbstractBuild<?,?> build,
hudson.model.AbstractProject project,
List<hudson.model.Action> list)
throws InterruptedException,
IOException
schedule in class BuildTriggerConfigInterruptedException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||