org.jenkinsci.plugins.fstrigger.core
Class FSTriggerContentFileType

java.lang.Object
  extended by org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<FSTriggerContentFileType>, Serializable
Direct Known Subclasses:
LogFileContentTrigger, PropertiesFileContent, SimpleFileContent, ZIPFileContent

public abstract class FSTriggerContentFileType
extends Object
implements hudson.ExtensionPoint, hudson.model.Describable<FSTriggerContentFileType>, Serializable

Author:
Gregory Boissinot
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
protected  String jobName
           
protected  FSTriggerLog log
           
 
Constructor Summary
FSTriggerContentFileType()
           
 
Method Summary
 hudson.model.Descriptor<FSTriggerContentFileType> getDescriptor()
           
protected  void infoLog(String msg)
           
abstract  void init(File file)
          Cycle of the trigger These methods have to be overriden in each trigger implementation
 void initMemoryFields(String jobName, File file)
           
abstract  boolean triggeringBuild(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobName

protected transient String jobName

log

protected transient FSTriggerLog log
Constructor Detail

FSTriggerContentFileType

public FSTriggerContentFileType()
Method Detail

infoLog

protected void infoLog(String msg)

initMemoryFields

public void initMemoryFields(String jobName,
                             File file)
                      throws FSTriggerException
Throws:
FSTriggerException

getDescriptor

public hudson.model.Descriptor<FSTriggerContentFileType> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<FSTriggerContentFileType>

init

public abstract void init(File file)
                   throws FSTriggerException
Cycle of the trigger These methods have to be overriden in each trigger implementation

Throws:
FSTriggerException

triggeringBuild

public abstract boolean triggeringBuild(File file)
                                 throws FSTriggerException
Throws:
FSTriggerException


Copyright © 2004-2011. All Rights Reserved.