org.jenkinsci.plugins.fstrigger.triggers.filecontent
Class LogFileContentTrigger

java.lang.Object
  extended by org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
      extended by org.jenkinsci.plugins.fstrigger.triggers.filecontent.LogFileContentTrigger
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<FSTriggerContentFileType>, Serializable

public class LogFileContentTrigger
extends FSTriggerContentFileType

Author:
Gregory Boissinot
See Also:
Serialized Form

Nested Class Summary
static class LogFileContentTrigger.LogFileContentDescriptor
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
jobName, log
 
Constructor Summary
LogFileContentTrigger(List<LogFileContentEntry> element)
           
 
Method Summary
 List<LogFileContentEntry> getRegexElements()
           
 void init(File file)
          Cycle of the trigger These methods have to be overriden in each trigger implementation
 boolean triggeringBuild(File file)
           
 
Methods inherited from class org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
getDescriptor, infoLog, initMemoryFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFileContentTrigger

@DataBoundConstructor
public LogFileContentTrigger(List<LogFileContentEntry> element)
Method Detail

getRegexElements

public List<LogFileContentEntry> getRegexElements()

init

public void init(File file)
          throws FSTriggerException
Description copied from class: FSTriggerContentFileType
Cycle of the trigger These methods have to be overriden in each trigger implementation

Specified by:
init in class FSTriggerContentFileType
Throws:
FSTriggerException

triggeringBuild

public boolean triggeringBuild(File file)
                        throws FSTriggerException
Specified by:
triggeringBuild in class FSTriggerContentFileType
Throws:
FSTriggerException


Copyright © 2004-2011. All Rights Reserved.