X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fprocess%2FSlcExecution.java;h=068c6957725c16c9874ba6d8274ffea2c872b739;hb=a75c0516aca20f9a8c8fdd32feee402257ff2b61;hp=37b647ad320281f94dfd6e05ef9185d0e3a0c04f;hpb=a181e3d059185a9dc108e81f38c66f48f4e4aac8;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java index 37b647ad3..068c69577 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * 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. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.process; import java.io.Serializable; @@ -24,7 +23,10 @@ import java.util.Map; import java.util.TreeMap; import org.argeo.slc.execution.ExecutionProcess; +import org.argeo.slc.execution.ExecutionStep; +import org.argeo.slc.execution.RealizedFlow; +/** @deprecated use other implementations of {@link ExecutionProcess} */ public class SlcExecution implements ExecutionProcess, Serializable { private static final long serialVersionUID = -7607457971382118466L; @@ -34,7 +36,7 @@ public class SlcExecution implements ExecutionProcess, Serializable { private String host; private String user; private String type; - private String status = UNINITIALIZED; + private String status = NEW; private Map attributes = new TreeMap(); /** TODO: Synchronize */ @@ -60,6 +62,10 @@ public class SlcExecution implements ExecutionProcess, Serializable { this.steps = steps; } + public void addSteps(List steps) { + // not implemented on deprecated + } + public String getUuid() { return uuid; }