diff --git a/li.strolch.service/src/main/java/li/strolch/execution/EventBasedExecutionHandler.java b/li.strolch.service/src/main/java/li/strolch/execution/EventBasedExecutionHandler.java index 9964b4e2c..816c511b5 100644 --- a/li.strolch.service/src/main/java/li/strolch/execution/EventBasedExecutionHandler.java +++ b/li.strolch.service/src/main/java/li/strolch/execution/EventBasedExecutionHandler.java @@ -262,7 +262,8 @@ public class EventBasedExecutionHandler extends ExecutionHandler { }); } - private void archiveActivity(String realm, Locator activityLoc) { + @Override + public void archiveActivity(String realm, Locator activityLoc) { this.executorService.execute(() -> { try { runAsAgent(ctx -> { diff --git a/li.strolch.service/src/main/java/li/strolch/execution/ExecutionHandler.java b/li.strolch.service/src/main/java/li/strolch/execution/ExecutionHandler.java index 0159c2533..247e75764 100644 --- a/li.strolch.service/src/main/java/li/strolch/execution/ExecutionHandler.java +++ b/li.strolch.service/src/main/java/li/strolch/execution/ExecutionHandler.java @@ -14,18 +14,18 @@ import li.strolch.model.activity.TimeOrdering; *
* The ExecutionHandler enables the automated execution of {@link Activity} and {@link Action} elements. *
- * + * ** To start the execution of an {@link Activity} add it to the {@link ExecutionHandler} by calling * {@link #addForExecution(String, Locator)}. Actual execution is asynchronously performed and the * {@link ExecutionPolicy} of the resources of the {@link Action Actions} will perform the actual execution. *
- * + * ** Execution of Actions is done either in series or in parallel, depending on the {@link TimeOrdering} on the relevant * {@link Activity} *
- * + * * @author Robert von Burg* Returns the {@link DelayedExecutionTimer} *
- * + * ** The {@link DelayedExecutionTimer} allows to delay the {@link #toExecuted(String, Locator)} call by a given time. * See the {@link DurationExecution} policy *
- * + * * @return the {@link DelayedExecutionTimer} */ public abstract DelayedExecutionTimer getDelayedExecutionTimer(); /** * Starts the execution of the given {@link Activity} with the given {@link Locator} - * + * * @param realm - * the realm where the {@link Activity} resides + * the realm where the {@link Activity} resides * @param activityLoc - * the {@link Locator} of the {@link Activity} + * the {@link Locator} of the {@link Activity} */ public abstract void toExecution(String realm, Locator activityLoc); /** * Completes the execution of the given {@link Action} with the given {@link Locator} - * + * * @param realm - * the realm where the {@link Action} resides + * the realm where the {@link Action} resides * @param actionLoc - * the {@link Locator} of the {@link Action} + * the {@link Locator} of the {@link Action} */ public abstract void toExecuted(String realm, Locator actionLoc); /** * Sets the state of the {@link Action} with the given {@link Locator} to {@link State#STOPPED} - * + * * @param realm - * the realm where the {@link Action} resides + * the realm where the {@link Action} resides * @param actionLoc - * the {@link Locator} of the {@link Action} + * the {@link Locator} of the {@link Action} */ public abstract void toStopped(String realm, Locator actionLoc); /** * Sets the state of the {@link Action} with the given {@link Locator} to {@link State#WARNING} - * + * * @param realm - * the realm where the {@link Action} resides + * the realm where the {@link Action} resides * @param actionLoc - * the {@link Locator} of the {@link Action} + * the {@link Locator} of the {@link Action} */ public abstract void toWarning(String realm, Locator actionLoc); /** * Sets the state of the {@link Action} with the given {@link Locator} to {@link State#ERROR} - * + * * @param realm - * the realm where the {@link Action} resides + * the realm where the {@link Action} resides * @param actionLoc - * the {@link Locator} of the {@link Action} + * the {@link Locator} of the {@link Action} */ public abstract void toError(String realm, Locator actionLoc);