]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionProcessNotifier.java
Improve logging
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionProcessNotifier.java
index 9bfdaf98fed5bd16d1b1561f3a1995e83b18fffb..e2466ec81f114e957ba309a7da1053f62dfe7aa3 100644 (file)
@@ -2,13 +2,19 @@ package org.argeo.slc.execution;
 
 import java.util.List;
 
-import org.argeo.slc.process.SlcExecutionStep;
-
+/**
+ * Implementations of this interface can be notified of events related to
+ * process execution.
+ */
 public interface ExecutionProcessNotifier {
-       public void addSteps(ExecutionProcess process,
-                       List<SlcExecutionStep> additionalSteps);
-
+       /**
+        * Notify a status change, see {@link ExecutionProcess} for the list of
+        * vaailable statuses.
+        */
        public void updateStatus(ExecutionProcess process, String oldStatus,
                        String newStatus);
 
+       /** Notifiy of new execution steps. */
+       public void addSteps(ExecutionProcess process, List<ExecutionStep> steps);
+
 }