Class LabelAddedTrigger
- java.lang.Object
-
- hudson.triggers.Trigger<org.jenkinsci.plugins.workflow.job.WorkflowJob>
-
- org.jenkinsci.plugins.pipeline.github.trigger.LabelAddedTrigger
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Trigger<?>>
public class LabelAddedTrigger extends Trigger<org.jenkinsci.plugins.workflow.job.WorkflowJob>
An LabelAddedTrigger, to be used from pipeline scripts only. This trigger will not show up on a jobs configuration page.- Author:
- Joaquín Fernández Campo
- See Also:
PipelineTriggersJobProperty
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LabelAddedTrigger.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.triggers.Trigger
Trigger.Cron
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description LabelAddedTrigger(String labelTriggerPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabelTrigger()
void
start(org.jenkinsci.plugins.workflow.job.WorkflowJob project, boolean newInstance)
void
stop()
-
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, run
-
-
-
-
Constructor Detail
-
LabelAddedTrigger
@DataBoundConstructor public LabelAddedTrigger(@Nonnull String labelTriggerPattern)
-
-
Method Detail
-
start
public void start(org.jenkinsci.plugins.workflow.job.WorkflowJob project, boolean newInstance)
-
stop
public void stop()
-
getLabelTrigger
public String getLabelTrigger()
-
-