示例#1
0
 public void onEnd(ExecutionLoggerAPI logger, RuntimeInfo.Status status, String log) {
   this.runtimeInfo.setStatus(status);
   this.runtimeInfo.addLog(log);
   this.runtimeInfo.setEndTime(new Date());
   logger.updateRuntimeInfo(this);
 }
示例#2
0
 public void onStart(ExecutionLoggerAPI logger) {
   this.runtimeInfo.setStatus(RuntimeInfo.Status.RUNNING);
   this.runtimeInfo.setStartTime(new Date());
   logger.updateRuntimeInfo(this);
 }