org.hudsonci.plugins.snapshotmonitor
Class SnapshotTrigger

java.lang.Object
  extended by hudson.triggers.Trigger<hudson.model.AbstractProject>
      extended by org.hudsonci.plugins.snapshotmonitor.SnapshotTrigger
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>

public class SnapshotTrigger
extends hudson.triggers.Trigger<hudson.model.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
hudson.triggers.Trigger.Cron
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.triggers.Trigger
job, spec, tabs, timer
 
Constructor Summary
SnapshotTrigger(String spec, boolean excludeInternallyProduced)
           
 
Method Summary
 boolean equals(Object o)
           
 SnapshotTrigger.DescriptorImpl getDescriptor()
           
 int hashCode()
           
 boolean isExcludeInternallyProduced()
           
 void run()
           
 void start(hudson.model.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, finalize, getClass, 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 hudson.model.Describable<hudson.triggers.Trigger<?>>
Overrides:
getDescriptor in class hudson.triggers.Trigger<hudson.model.AbstractProject>

isExcludeInternallyProduced

@JellyAccessible
public boolean isExcludeInternallyProduced()

start

public void start(hudson.model.AbstractProject project,
                  boolean newInstance)
Overrides:
start in class hudson.triggers.Trigger<hudson.model.AbstractProject>

run

public void run()
Overrides:
run in class hudson.triggers.Trigger<hudson.model.AbstractProject>

equals

public boolean equals(Object o)
Overrides:
equals in class hudson.triggers.Trigger<hudson.model.AbstractProject>

hashCode

public int hashCode()
Overrides:
hashCode in class hudson.triggers.Trigger<hudson.model.AbstractProject>


Copyright © 2004-2012 Hudson. All Rights Reserved.