X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fexecution%2FExecutionProcess.java;h=550c16484e5fdf5249edb69352b3e0e478c0e9c5;hb=ccaab8ee4c42b45d192ab518667be50554da0854;hp=be70b0955d01738287db5967e649889e0cc1a7b9;hpb=24d560ee846fda5d7954d44f83cb22ab449dbe61;p=gpl%2Fargeo-slc.git
diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionProcess.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionProcess.java
index be70b0955..550c16484 100644
--- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionProcess.java
+++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionProcess.java
@@ -1,12 +1,28 @@
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * 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.
+ */
package org.argeo.slc.execution;
+import java.util.List;
+
/**
* A process is the functional representation of a combination of executions.
* While an execution is the actual java code running, a process exists before,
* during and after the execution actually took place, providing an entry point
* for the definition of executions, their monitoring (e.g. logging) and
- * tracking. A process can be distributed or parallelized.
- *
+ * tracking. A process can be distributed or parallelized.
* NEW => INITIALIZED => SCHEDULED => RUNNING
* RUNNING => {COMPLETED | ERROR | KILLED}
* {COMPLETED | ERROR | KILLED} => PURGED
@@ -44,4 +60,8 @@ public interface ExecutionProcess {
/** Sets the current status of this process */
public void setStatus(String status);
+
+ public void addSteps(List steps);
+
+ public List getRealizedFlows();
}