org.jenkinsci.plugins.fstrigger.triggers
Class FileNameTrigger

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

public class FileNameTrigger
extends hudson.triggers.Trigger<hudson.model.BuildableItem>

Author:
Gregory Boissinot

Nested Class Summary
static class FileNameTrigger.FileNameTriggerDescriptor
           
 
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
FileNameTrigger(String cronTabSpec)
          A constructor with only the GUI cronTabSpec parameter The instance is build by the JSON binding with the newInstance in FileNameTrigger.FileNameTriggerDescriptor
 
Method Summary
 FSTriggerContentFileType[] getContentFileTypes()
           
 String getFileName()
           
 String getFolderPath()
          Getters and setters
 String getStrategy()
           
 boolean isInspectingContentFile()
           
 boolean isNoCheckedLastModifiedDate()
           
 boolean isUsingREGEX()
           
 void run()
           
 void setContentFileTypes(FSTriggerContentFileType[] contentFileTypes)
           
 void setFileName(String fileName)
           
 void setFolderPath(String folderPath)
           
 void setInspectingContentFile(boolean inspectingContentFile)
           
 void setNoCheckedLastModifiedDate(boolean noCheckedLastModifiedDate)
           
 void setStrategy(String strategy)
           
 void setUsingREGEX(boolean usingREGEX)
           
 void start(hudson.model.BuildableItem project, boolean newInstance)
           
 
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, 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

FileNameTrigger

public FileNameTrigger(String cronTabSpec)
                throws antlr.ANTLRException
A constructor with only the GUI cronTabSpec parameter The instance is build by the JSON binding with the newInstance in FileNameTrigger.FileNameTriggerDescriptor

Throws:
antlr.ANTLRException
Method Detail

getFolderPath

public String getFolderPath()
Getters and setters


getFileName

public String getFileName()

isUsingREGEX

public boolean isUsingREGEX()

getStrategy

public String getStrategy()

isInspectingContentFile

public boolean isInspectingContentFile()

getContentFileTypes

public FSTriggerContentFileType[] getContentFileTypes()

isNoCheckedLastModifiedDate

public boolean isNoCheckedLastModifiedDate()

setFolderPath

public void setFolderPath(String folderPath)

setFileName

public void setFileName(String fileName)

setUsingREGEX

public void setUsingREGEX(boolean usingREGEX)

setStrategy

public void setStrategy(String strategy)

setInspectingContentFile

public void setInspectingContentFile(boolean inspectingContentFile)

setContentFileTypes

public void setContentFileTypes(FSTriggerContentFileType[] contentFileTypes)

setNoCheckedLastModifiedDate

public void setNoCheckedLastModifiedDate(boolean noCheckedLastModifiedDate)

start

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

run

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


Copyright © 2004-2011. All Rights Reserved.