X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fmsg%2Fprocess%2FSlcExecutionStepsRequest.java;h=8ede69fb3863a903a791a72c65fe6b1b2b0f8cbf;hb=60677ee743e6d54ceda3187824cef28cf844ccc0;hp=7492338ef340fef27e09b7981ac7cb7ef81a3329;hpb=0bcca59c19e554f94ec03af0dc7c44047a2eade7;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/msg/process/SlcExecutionStepsRequest.java b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/msg/process/SlcExecutionStepsRequest.java index 7492338ef..8ede69fb3 100644 --- a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/msg/process/SlcExecutionStepsRequest.java +++ b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/msg/process/SlcExecutionStepsRequest.java @@ -19,10 +19,11 @@ package org.argeo.slc.msg.process; import java.io.Serializable; import java.util.ArrayList; import java.util.List; -import java.util.Vector; +import org.argeo.slc.execution.ExecutionStep; import org.argeo.slc.process.SlcExecutionStep; +@Deprecated public class SlcExecutionStepsRequest implements Serializable { private static final long serialVersionUID = 6243880315234605390L; private String slcExecutionUuid; @@ -33,16 +34,17 @@ public class SlcExecutionStepsRequest implements Serializable { } public SlcExecutionStepsRequest(String slcExecutionUuid, - List steps) { + List steps) { this.slcExecutionUuid = slcExecutionUuid; - this.steps = steps; + for (ExecutionStep step : steps) { + this.steps.add((SlcExecutionStep) step); + } } - public SlcExecutionStepsRequest(String slcExecutionUuid, - SlcExecutionStep step) { + public SlcExecutionStepsRequest(String slcExecutionUuid, ExecutionStep step) { this.slcExecutionUuid = slcExecutionUuid; - List steps = new Vector(); - steps.add(step); + List steps = new ArrayList(); + steps.add((SlcExecutionStep) step); this.steps = steps; }