org.hudsonci.plugins.snapshotmonitor
Class SnapshotTrigger
java.lang.Object
hudson.triggers.Trigger<AbstractProject>
org.hudsonci.plugins.snapshotmonitor.SnapshotTrigger
- All Implemented Interfaces:
- ExtensionPoint, Describable<Trigger<?>>
public class SnapshotTrigger
- extends Trigger<AbstractProject>
Trigger builds for a job whose SNAPSHOT dependencies have changed externally.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotTrigger
@DataBoundConstructor
public SnapshotTrigger(String spec,
boolean excludeInternallyProduced)
throws Exception
- Throws:
Exception
getDescriptor
public SnapshotTrigger.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface Describable<Trigger<?>>- Overrides:
getDescriptor in class Trigger<AbstractProject>
isExcludeInternallyProduced
@JellyAccessible
public boolean isExcludeInternallyProduced()
start
public void start(AbstractProject project,
boolean newInstance)
- Overrides:
start in class Trigger<AbstractProject>
run
public void run()
- Overrides:
run in class Trigger<AbstractProject>
Copyright © 2004-2011 Hudson. All Rights Reserved.