adams.flow.transformer.IncStorageValue
Increments the value of a storage value by either an integer/long or double increment.
If the storage value has not been set yet, it will get set to 0.
If the storage value contains a non-numerical value, no increment will be performed.
It is also possible to directly output the updated storage value (while discarding the input token).
Flow input/output:
- input: adams.flow.core.Unknown
- output: adams.flow.core.Unknown
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 | IncStorageValue |
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 name of the storage value to increment.
command-line | -storage-name <adams.flow.control.StorageName> |
default | storage |
The type of increment to perform.
command-line | -inc-type <INTEGER|LONG|DOUBLE> |
default | INTEGER |
The increment in case of INTEGER or LONG increments.
command-line | -inc-int <int> |
default | 1 |
The increment in case of DOUBLE increments.
command-line | -inc-double <double> |
default | 1.0 |
If enabled, the input token gets discarded and the current storage value get forwarded instead.
command-line | -output-storage-value <boolean> |
default | false |