public interface ScriptedExecutable
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
boolean |
isExecuting()
Find out if the executable is currently executing or paused.
|
boolean |
isPause()
Find out if the executable is executing and paused.
|
boolean |
isStop()
Find out if the executable was stopped.
|
void |
setPause(Object source,
boolean pause,
String reason)
Request to pause the executing object.
|
void |
setStop(Object source,
boolean stop,
boolean isManual,
String manualStopJustification)
Request to stop the executing object.
|
boolean isExecuting()
boolean isStop()
void setStop(Object source, boolean stop, boolean isManual, String manualStopJustification)
source
- source of the request (for tracking purposes).stop
- true to request stop, false to reset the stop flag.isManual
- true if the stop is manual/user requested (for tracking
purposes).manualStopJustification
- optional stop justification.boolean isPause()