public interface CommandListener
Command listener interface allows objects to receive events from individual scripting command handlers. Events are usually fired by command handlers during script execution. Events may be theoretically also fired from a command handler constructor, i.e. when a command handler instance gets created by the script handler. Typical consumers of such events are report providers which refresh reports whenever a new output like screenshot, comment, warning or image comparison result is generated.
Objects implementing this interface may register for command events with
the appropriate ScriptManager
instance.
T-Plan Robot Enterprise, (C) 2009-2025 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
void |
commandEvent(CommandEvent e)
This method is called when a command handler fires an event.
|
void commandEvent(CommandEvent e)
e
- a command event.