Package org.chenile.filewatch.model
Class FileWatchDefinition
java.lang.Object
org.chenile.filewatch.model.FileWatchDefinition
- All Implemented Interfaces:
ModuleAware
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubscriber
(SubscriberVO subscriber) Class<?>
void
setDescription
(String description) void
setDirToWatch
(String dirToWatch) void
setFileWatchId
(String fileWatchId) void
setOriginatingModuleName
(String originatingModuleName) void
setRecordClass
(Class<?> recordClass) void
setTemplate
(String template) void
setTemplateName
(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:
setOriginatingModuleName
in 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
-