public interface ProcessorContext
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getConfigParameters()
Returns an immutable map representing the watch-folder configuration parameters.
|
Map<String,Document> |
getInputMap()
Returns an immutable map representing the watch-folder input.
|
String |
getWatchFolderId()
Returns the ID of the watch-folder whose inputs are being processed.
|
void |
setResult(String fileName,
Document contents)
Adds a result which will be written out as a physical file into the results folder of the watch-folder.
|
String getWatchFolderId()
Map<String,Document> getInputMap()
Map<String,Object> getConfigParameters()
void setResult(String fileName, Document contents)
fileName
- The name of the output file. This is used as the name of the physical output file only
if the output-file-pattern of the watch-folder is a folder pattern. If the output-file-pattern
is a file pattern, this is ignored.contents
- The contents of the output file. Must not be null
.Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.