X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fprocess%2FSlcExecutionNotifier.java;h=52386d935ae559a1265b90c34d7e4edf61a84d9e;hb=3781dcd363f0f6265fae0ac758fd40cf4254ebc9;hp=a11977d9db54c28519590a7c4f57291f0a3d2e5b;hpb=2f57b9abf7e5110603e8cf952259509c76c9a162;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecutionNotifier.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecutionNotifier.java index a11977d9d..52386d935 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecutionNotifier.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecutionNotifier.java @@ -1,15 +1,27 @@ -package org.argeo.slc.process; - -import java.util.List; +/* + * Copyright (C) 2010 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -public interface SlcExecutionNotifier { - public void newExecution(SlcExecution slcExecution); - - public void addSteps(SlcExecution slcExecution, - List additionalSteps); +package org.argeo.slc.process; - public void updateExecution(SlcExecution slcExecution); +import org.argeo.slc.execution.ExecutionProcessNotifier; - public void updateStatus(SlcExecution slcExecution, String oldStatus, - String newStatus); +/** + * Notifies of changes in the current process + * + * @deprecated use {@link ExecutionProcessNotifier} instead. + */ +public interface SlcExecutionNotifier extends ExecutionProcessNotifier { }