[New] Added SimpleExecution.toExecuted()

This commit is contained in:
Robert von Burg 2020-02-26 09:32:31 +01:00
parent 0771aaac77
commit 8c5804fcbe
1 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,11 @@ public class SimpleExecution extends ExecutionPolicy {
}
}
protected void toExecuted() throws Exception {
stop();
getController().toExecuted(this.actionLoc);
}
protected void toError(LogMessage message) {
stop();
logger.error("Action " + message.getLocator() + " failed because of: " + message.formatMessage());