[New] Added SimpleExecution.toExecuted()
This commit is contained in:
parent
0771aaac77
commit
8c5804fcbe
|
@ -71,6 +71,11 @@ public class SimpleExecution extends ExecutionPolicy {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void toExecuted() throws Exception {
|
||||||
|
stop();
|
||||||
|
getController().toExecuted(this.actionLoc);
|
||||||
|
}
|
||||||
|
|
||||||
protected void toError(LogMessage message) {
|
protected void toError(LogMessage message) {
|
||||||
stop();
|
stop();
|
||||||
logger.error("Action " + message.getLocator() + " failed because of: " + message.formatMessage());
|
logger.error("Action " + message.getLocator() + " failed because of: " + message.formatMessage());
|
||||||
|
|
Loading…
Reference in New Issue