package org.argeo.slc.process;\r
\r
+import java.util.ArrayList;\r
import java.util.List;\r
import java.util.Map;\r
import java.util.TreeMap;\r
-import java.util.Vector;\r
\r
public class SlcExecution {\r
public final static String STATUS_SCHEDULED = "SCHEDULED";\r
private String status;\r
private Map<String, String> attributes = new TreeMap<String, String>();\r
\r
- private List<SlcExecutionStep> steps = new Vector<SlcExecutionStep>();\r
+ private List<SlcExecutionStep> steps = new ArrayList<SlcExecutionStep>();\r
\r
public List<SlcExecutionStep> getSteps() {\r
return steps;\r
public void setAttributes(Map<String, String> attributes) {\r
this.attributes = attributes;\r
}\r
+\r
+ public String toString() {\r
+ StringBuffer buf = new StringBuffer(getClass().getSimpleName());\r
+ buf.append('#').append(uuid);\r
+ buf.append(" status=").append(status);\r
+ buf.append(" attributes=").append(attributes);\r
+ return buf.toString();\r
+ }\r
}\r