\r
import javax.xml.transform.stream.StreamResult;\r
\r
-import org.springframework.oxm.Marshaller;\r
-\r
import org.apache.commons.io.IOUtils;\r
-\r
import org.argeo.slc.core.SlcException;\r
+import org.springframework.oxm.Marshaller;\r
\r
public class FileSlcExecutionNotifier implements SlcExecutionNotifier {\r
private final static SimpleDateFormat sdf = new SimpleDateFormat(\r
writeSlcExecution(slcExecution);\r
}\r
\r
+ public void updateStatus(SlcExecution slcExecution, String oldStatus,\r
+ String newStatus) {\r
+ writeSlcExecution(slcExecution);\r
+ }\r
+\r
protected void writeSlcExecution(SlcExecution slcExecution) {\r
FileWriter out = null;\r
try {\r
public void setMarshaller(Marshaller marshaller) {\r
this.marshaller = marshaller;\r
}\r
- \r
- \r
+\r
}\r