adams.flow.standalone.DirWatch
Watches for file changes in a directory and forwards the affected files.
Flow input/output:
-standalone-
Actor handler information:
- Actor execution: SEQUENTIAL
- Standalones allowed: true
- Source allowed: true
- 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 | DirWatch | 
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 | 
If enabled, no change event gets discarded; CAUTION: enabling this option can slow down the system significantly.
| command-line | -no-discard <boolean> | 
| default | false | 
The actors to execute in case of a change event.
| command-line | -actor <adams.flow.core.Actor> [-actor ...] | 
| default |  | 
The directory to watch.
| command-line | -source <adams.core.io.PlaceholderDirectory> | 
| default | ${CWD} | 
The kind of events to report.
| command-line | -event <CREATE|MODIFY|DELETE> [-event ...] | 
| default | CREATE | 
The number of milli-seconds to wait before polling again whether files have arrived.
| command-line | -wait-poll <int> | 
| default | 50 | 
| minimum | 0 | 
The regular expression that the file names must match (name only, not path).
| command-line | -reg-exp <adams.core.base.BaseRegExp> | 
| default | .* | 
| more | https://docs.oracle.com/javase/tutorial/essential/regex/ | 
| https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html | 
If enabled, the files get moved to the specified directory first before being transmitted (with their new filename).
| command-line | -move-files <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 directory to move the files to before transmitting their names.
| command-line | -target <adams.core.io.PlaceholderDirectory> | 
| default | ${CWD} |