Package se.diabol.jenkins.pipeline
Class ManualStepTrigger.Provider
java.lang.Object
se.diabol.jenkins.pipeline.freestyle.ManualTriggerProvider
se.diabol.jenkins.pipeline.ManualStepTrigger.Provider
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
ManualStepTrigger
Recognises the manual steps this action defines and performs them.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<AbstractProject<?, ?>> manualUpstreamsOf(AbstractProject<?, ?> project) The upstream projects whose manual trigger leads to the given project, in configuration order.booleantrigger(AbstractProject<?, ?> project, AbstractProject<?, ?> upstream, int upstreamBuild, ItemGroup<? extends TopLevelItem> context) Performs the manual trigger of the project, continuing from the given build of the upstream project.Methods inherited from class se.diabol.jenkins.pipeline.freestyle.ManualTriggerProvider
all, manualUpstreams
-
Constructor Details
-
Provider
public Provider()
-
-
Method Details
-
manualUpstreamsOf
Description copied from class:ManualTriggerProviderThe upstream projects whose manual trigger leads to the given project, in configuration order.- Specified by:
manualUpstreamsOfin classManualTriggerProvider
-
trigger
public boolean trigger(AbstractProject<?, ?> project, AbstractProject<?, throws PipelineException?> upstream, int upstreamBuild, ItemGroup<? extends TopLevelItem> context) Description copied from class:ManualTriggerProviderPerforms the manual trigger of the project, continuing from the given build of the upstream project.- Specified by:
triggerin classManualTriggerProvider- Returns:
- false when this provider does not own the relation between the two projects
- Throws:
PipelineException
-