adams.flow.control.LocalScopeTrigger
Executes the sub-actors whenever a token gets passed through, just like the adams.flow.control.Trigger actor, but also provides its own scope for variables and internal storage.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope. However, storage items from caches cannot be propagated.
Flow input/output:
- input: adams.flow.core.Unknown
- output: adams.flow.core.Unknown
Actor handler information:
- Actor execution: SEQUENTIAL
- Standalones allowed: true
- Source allowed: true
- Forwards input: false
Stop restriction: always
adams.flow.control.ConditionalTrigger
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 | LocalScopeTrigger |
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, actor first finishes processing all data before stopping.
command-line | -finish-before-stopping <boolean> |
default | false |
The timeout in milliseconds when waiting for actors to finish (<= 0 for infinity; see 'finishBeforeStopping').
command-line | -stopping-timeout <int> |
default | -1 |
minimum | -1 |
If enabled, the sub-actors get executed asynchronously rather than the flow waiting for them to finish before proceeding with execution.
command-line | -asynchronous <boolean> |
default | false |
min-user-mode | Expert |
The actors to siphon-off the tokens to.
command-line | -tee <adams.flow.core.Actor> [-tee ...] |
default |
|
Defines how variables are handled in the local scope; whether to start with empty set, a copy of the outer scope variables or share variables with the outer scope.
command-line | -scope-handling-variables <EMPTY|COPY|SHARE> |
default | EMPTY |
The regular expression that variable names must match in order to get into the local scope (when using COPY).
command-line | -variables-filter <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 and variables are not shared with outer scope, variables that match the specified regular expression get propagated to the outer scope.
command-line | -propagate-variables <boolean> |
default | false |
The regular expression that variable names must match in order to get propagated.
command-line | -variables-regexp <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 |
Defines how storage is handled in the local scope; whether to start with empty set, a (deep) copy of the outer scope storage or share the storage with the outer scope.
command-line | -scope-handling-storage <EMPTY|COPY|SHARE> |
default | EMPTY |
The regular expression that storage item names must match in order to get into the local scope (when using COPY).
command-line | -storage-filter <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 and storage is not shared with outer scope, storage items which names match the specified regular expression get propagated to the outer scope.
command-line | -propagate-storage <boolean> |
default | false |
The regular expression that the names of storage items must match in order to get propagated.
command-line | -storage-regexp <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 |