adams.flow.control.Inspect
Allows the user to inspect tokens with the specified viewer.
Inspection can be done interactively, allowing the user to drop tokens, or non-interactively, with the viewer updating whenever a token passes through.
Of course, this actor should only be used during development for debugging purposes as can slow down the execution significantly depending on how expensive the view generation is.
Flow input/output:
- input: java.lang.Object
- output: java.lang.Object
Interactive actor information:
- supports interaction in headless mode: false
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 | Inspect |
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 uses just the name for the title instead of the actor's full name.
command-line | -short-title <boolean> |
default | false |
The width of the dialog.
command-line | -width <int> |
default | 800 |
minimum | 1 |
The height of the dialog.
command-line | -height <int> |
default | 600 |
minimum | 1 |
The X position of the dialog (>=0: absolute, -1: left, -2: center, -3: right).
command-line | -x <int> |
default | -1 |
minimum | -3 |
The Y position of the dialog (>=0: absolute, -1: top, -2: center, -3: bottom).
command-line | -y <int> |
default | -1 |
minimum | -3 |
If enabled, the flow gets stopped in case the user cancels the dialog.
command-line | -stop-if-canceled <boolean> |
default | false |
The custom stop message to use in case a user cancelation stops the flow (default is the full name of the actor)
command-line | -custom-stop-message <java.lang.String> |
default |
|
The stop mode to use.
command-line | -stop-mode <GLOBAL|STOP_RESTRICTOR> |
default | GLOBAL |
The actor for generating the viewer.
command-line | -provider <adams.flow.sink.DisplayPanelProvider> |
default | adams.flow.sink.Display -display-type adams.flow.core.displaytype.Default -writer adams.data.io.output.NullWriter |
The label to use for the skip button; let '_' precede the character that should trigger the button via 'Alt+<char>' (Windows/Linux).
command-line | -label-skip <java.lang.String> |
default | _Skip |
The label to use for the accept button; let '_' precede the character that should trigger the button via 'Alt+<char>' (Windows/Linux).
command-line | -label-accept <java.lang.String> |
default | _Accept |
If enabled, the dialog gets closed after the skip or accept button has been clicked.
command-line | -close-dialog <boolean> |
default | false |