adams.flow.control.FileProcessor
Processes arriving files one by one, placing them in the 'processing'directory while working on them. If successfully processed, they get placed in 'processed', otherwise in 'failed'.
Flow input/output:
- input: java.lang.String, java.io.File
- output:
Actor handler information:
- Actor execution: SEQUENTIAL
- Standalones allowed: false
- Source allowed: false
- Forwards input: true
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | FileProcessor |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The directory where the data gets moved to for processing.
command-line | -processing <adams.core.io.PlaceholderDirectory> |
default | processing |
The directory where the data gets moved to after successful processing.
command-line | -processed <adams.core.io.PlaceholderDirectory> |
default | processed |
The directory where the data gets moved to after unsuccessful processing.
command-line | -failed <adams.core.io.PlaceholderDirectory> |
default | failed |
If set to true, then the files/dirs being processed get encapsulated in timestamp directories to avoid name clashes.
command-line | -use-timestamp-dirs <boolean> |
default | false |
If true, then an atomic move operation will be attempted (NB: not supported by all operating systems).
command-line | -atomic-move <boolean> |
default | false |
The actors to siphon-off the tokens to.
command-line | -actor <adams.flow.core.Actor> [-actor ...] |
default |
|