Class BuildTrigger
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- hudson.plugins.parameterizedtrigger.BuildTrigger
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,DependencyDeclarer
public class BuildTrigger extends Notifier implements DependencyDeclarer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildTrigger.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description BuildTrigger(BuildTriggerConfig... configs)
BuildTrigger(List<BuildTriggerConfig> configs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildDependencyGraph(AbstractProject owner, DependencyGraph graph)
List<BuildTriggerConfig>
getConfigs()
Collection<? extends Action>
getProjectActions(AbstractProject<?,?> project)
BuildStepMonitor
getRequiredMonitorService()
boolean
needsToRunAfterFinalized()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Notifier
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform, prebuild
-
-
-
-
Constructor Detail
-
BuildTrigger
@DataBoundConstructor public BuildTrigger(List<BuildTriggerConfig> configs)
-
BuildTrigger
public BuildTrigger(BuildTriggerConfig... configs)
-
-
Method Detail
-
getConfigs
public List<BuildTriggerConfig> getConfigs()
-
needsToRunAfterFinalized
public boolean needsToRunAfterFinalized()
- Overrides:
needsToRunAfterFinalized
in classPublisher
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getProjectActions
public Collection<? extends Action> getProjectActions(AbstractProject<?,?> project)
- Specified by:
getProjectActions
in interfaceBuildStep
- Overrides:
getProjectActions
in classBuildStepCompatibilityLayer
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
buildDependencyGraph
public void buildDependencyGraph(AbstractProject owner, DependencyGraph graph)
- Specified by:
buildDependencyGraph
in interfaceDependencyDeclarer
-
-