Class FileWatchDefinition

java.lang.Object
org.chenile.filewatch.model.FileWatchDefinition
All Implemented Interfaces:
ModuleAware

public class FileWatchDefinition extends Object implements ModuleAware
  • Field Details

    • EXTENSION

      public static final String EXTENSION
      See Also:
    • fileWatchId

      private String fileWatchId
    • originatingModuleName

      private String originatingModuleName
    • recordClass

      private Class<?> recordClass
      The class to which each of the record in the file belongs. This class must match the parameter arguments for each of the subscribers to this FileWatchDefinition
    • dirToWatch

      private String dirToWatch
    • subscribers

      private Set<SubscriberVO> subscribers
    • templateName

      private String templateName
    • template

      private String template
    • description

      private String description
  • Constructor Details

    • FileWatchDefinition

      public FileWatchDefinition()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFileWatchId

      public String getFileWatchId()
    • setFileWatchId

      public void setFileWatchId(String fileWatchId)
    • getDirToWatch

      public String getDirToWatch()
    • setDirToWatch

      public void setDirToWatch(String dirToWatch)
    • getSubscribers

      public Set<SubscriberVO> getSubscribers()
    • addSubscriber

      public void addSubscriber(SubscriberVO subscriber)
    • getOriginatingModuleName

      public String getOriginatingModuleName()
    • setOriginatingModuleName

      public void setOriginatingModuleName(String originatingModuleName)
      Specified by:
      setOriginatingModuleName in interface ModuleAware
    • getRecordClass

      public Class<?> getRecordClass()
    • setRecordClass

      public void setRecordClass(Class<?> recordClass)
    • getTemplate

      public String getTemplate()
      Returns:
      the template
    • setTemplate

      public void setTemplate(String template)
      Parameters:
      template - the template to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getTemplateName

      public String getTemplateName()
      Returns:
      the templateName
    • setTemplateName

      public void setTemplateName(String templateName)
      Parameters:
      templateName - the templateName to set