Package hudson.plugins.promoted_builds
Class PromotionTrigger
- java.lang.Object
-
- hudson.triggers.Trigger<AbstractProject>
-
- hudson.plugins.promoted_builds.PromotionTrigger
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Trigger<?>>
public class PromotionTrigger extends Trigger<AbstractProject>
Trigger
that starts a build when a promotion happens.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PromotionTrigger.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 PromotionTrigger(String jobName, String process)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesTo(PromotionProcess proc)
void
consider(Promotion p)
String
getJobName()
String
getProcess()
-
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, run, start, stop
-
-
-
-
Method Detail
-
getJobName
public String getJobName()
-
getProcess
public String getProcess()
-
appliesTo
public boolean appliesTo(PromotionProcess proc)
-
consider
public void consider(Promotion p)
-
-