org.hudsonci.plugins.snapshotmonitor
Class SnapshotTrigger

java.lang.Object
  extended by hudson.triggers.Trigger<AbstractProject>
      extended by 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

Nested Class Summary
static class SnapshotTrigger.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.triggers.Trigger
Trigger.Cron
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.triggers.Trigger
job, spec, tabs, timer
 
Constructor Summary
SnapshotTrigger(String spec, boolean excludeInternallyProduced)
           
 
Method Summary
 SnapshotTrigger.DescriptorImpl getDescriptor()
           
 boolean isExcludeInternallyProduced()
           
 void run()
           
 void start(AbstractProject project, boolean newInstance)
           
 
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getProjectAction, getProjectActions, getSpec, init, readResolve, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotTrigger

@DataBoundConstructor
public SnapshotTrigger(String spec,
                                            boolean excludeInternallyProduced)
                throws Exception
Throws:
Exception
Method Detail

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.