import org.apache.commons.io.IOUtils;\r
\r
public class SlcExecutionStep {\r
+ public final static String TYPE_LOG = "LOG";\r
+\r
private String uuid;\r
private String type;\r
private Date begin;\r
public SlcExecutionStep() {\r
}\r
\r
- public SlcExecutionStep(String type, String log) {\r
- this.type = type;\r
+ public SlcExecutionStep(String log) {\r
+ this.type = TYPE_LOG;\r
this.begin = new Date();\r
this.uuid = UUID.randomUUID().toString();\r
addLog(log);\r
}\r
}\r
\r
+ @Override\r
+ public String toString() {\r
+ return getClass().getSimpleName() + "#" + uuid;\r
+ }\r
+\r
}\r