Package org.chenile.filewatch.model
Class FileWatchDefinition
java.lang.Object
org.chenile.filewatch.model.FileWatchDefinition
- All Implemented Interfaces:
ModuleAware
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubscriber(SubscriberVO subscriber) Class<?>voidsetDescription(String description) voidsetDirToWatch(String dirToWatch) voidsetFileWatchId(String fileWatchId) voidsetOriginatingModuleName(String originatingModuleName) voidsetRecordClass(Class<?> recordClass) voidsetTemplate(String template) voidsetTemplateName(String templateName) toString()
-
Field Details
-
EXTENSION
- See Also:
-
fileWatchId
-
originatingModuleName
-
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
-
subscribers
-
templateName
-
template
-
description
-
-
Constructor Details
-
FileWatchDefinition
public FileWatchDefinition()
-
-
Method Details
-
toString
-
getFileWatchId
-
setFileWatchId
-
getDirToWatch
-
setDirToWatch
-
getSubscribers
-
addSubscriber
-
getOriginatingModuleName
-
setOriginatingModuleName
- Specified by:
setOriginatingModuleNamein interfaceModuleAware
-
getRecordClass
-
setRecordClass
-
getTemplate
- Returns:
- the template
-
setTemplate
- Parameters:
template- the template to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getTemplateName
- Returns:
- the templateName
-
setTemplateName
- Parameters:
templateName- the templateName to set
-