org.jenkinsci.plugins.fstrigger.triggers
Class AbstractTrigger

java.lang.Object
  extended by hudson.triggers.Trigger<hudson.model.BuildableItem>
      extended by org.jenkinsci.plugins.fstrigger.triggers.AbstractTrigger
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>
Direct Known Subclasses:
FileNameTrigger, FolderContentTrigger

public abstract class AbstractTrigger
extends hudson.triggers.Trigger<hudson.model.BuildableItem>

Author:
Gregory Boissinot

Nested Class Summary
protected  class AbstractTrigger.Runner
          Asynchronous task
 
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
AbstractTrigger(String cronTabSpec)
           
 
Method Summary
abstract  boolean checkIfModified(FSTriggerLog log)
          Checks if the new folder Content has been modified The date time and the content file are used.
abstract  String getCause()
           
protected  File getLogFile()
           
 
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, init, readResolve, run, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTrigger

public AbstractTrigger(String cronTabSpec)
                throws antlr.ANTLRException
Throws:
antlr.ANTLRException
Method Detail

getLogFile

protected File getLogFile()

checkIfModified

public abstract boolean checkIfModified(FSTriggerLog log)
                                 throws FSTriggerException
Checks if the new folder Content has been modified The date time and the content file are used.

Returns:
true if the new folder content has been modifier
Throws:
FSTriggerException

getCause

public abstract String getCause()


Copyright © 2004-2011. All Rights Reserved.