public interface FinalCommand
This command allows to execute statements in case
a execution context has finished. Depending on the
state of execution one of the methods will be executed.
If the state of the SeMa4g
is SeMa4g.State 'FINISH',
the onSuccess-method will be executed. In all other cases, the 'onFailre-method
is executed.
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure()
This method will be called if at least one of the commands ended in error.
|
void |
onSuccess()
This method will be called, if all commands are executed successfully.
|
Copyright © 2018. All rights reserved.