com.tikal.jenkins.plugins.multijob
Class MultiJobBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.tikal.jenkins.plugins.multijob.MultiJobBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.DependecyDeclarer, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class MultiJobBuilder
- extends hudson.tasks.Builder
- implements hudson.model.DependecyDeclarer
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Methods inherited from class hudson.tasks.Builder |
all, getDescriptor, getRequiredMonitorService, prebuild |
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
MultiJobBuilder
@DataBoundConstructor
public MultiJobBuilder(String phaseName,
List<PhaseJobsConfig> phaseJobs,
MultiJobBuilder.ContinuationCondition continuationCondition)
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getPhaseName
public String getPhaseName()
setPhaseName
public void setPhaseName(String phaseName)
getPhaseJobs
public List<PhaseJobsConfig> getPhaseJobs()
setPhaseJobs
public void setPhaseJobs(List<PhaseJobsConfig> phaseJobs)
phaseNameExist
public boolean phaseNameExist(String phaseName)
buildDependencyGraph
public void buildDependencyGraph(hudson.model.AbstractProject owner,
hudson.model.DependencyGraph graph)
- Specified by:
buildDependencyGraph
in interface hudson.model.DependecyDeclarer
onJobRenamed
public boolean onJobRenamed(String oldName,
String newName)
onJobDeleted
public boolean onJobDeleted(String oldName)
getContinuationCondition
public MultiJobBuilder.ContinuationCondition getContinuationCondition()
setContinuationCondition
public void setContinuationCondition(MultiJobBuilder.ContinuationCondition continuationCondition)
Copyright © 2004-2012. All Rights Reserved.