adams.flow.control.Injector
Injects a string token into the token sequence.
The string can be inject before or after the current token. One can also control how often the string gets injected, i.e., every n-th token.
Flow input/output:
- input: java.lang.Object
- output: java.lang.Object
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 | Injector |
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 type of data to inject.
command-line | -type <STRING|STORAGE> |
default | STRING |
The location where to inject the data.
command-line | -location <BEFORE|AFTER|INPLACE> |
default | AFTER |
The string to inject into the sequence; tab and newline can be inserted as escaped sequence: \t and \n
command-line | -injection <java.lang.String> |
default | inject_me |
The conversion to apply to the string before injecting it (does not apply to STORAGE injection).
command-line | -conversion <adams.data.conversion.ConversionFromString> |
default | adams.data.conversion.StringToString |
The name of the storage item to inject.
command-line | -storage-name <adams.flow.control.StorageName> |
default | storage |
The number of tokens after which the injection takes place.
command-line | -nth <int> |
default | 1 |
minimum | 1 |