]> git.argeo.org Git - gpl/argeo-slc.git/blob - 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
1 package org.argeo.slc.execution;
2
3 import java.util.List;
4
5 /**
6 * Implementations of this interface can be notified of events related to
7 * process execution.
8 */
9 public interface ExecutionProcessNotifier {
10 /**
11 * Notify a status change, see {@link ExecutionProcess} for the list of
12 * vaailable statuses.
13 */
14 public void updateStatus(ExecutionProcess process, String oldStatus,
15 String newStatus);
16
17 /** Notifiy of new execution steps. */
18 public void addSteps(ExecutionProcess process, List<ExecutionStep> steps);
19
20 }