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); }
public void onStart(ExecutionLoggerAPI logger) { this.runtimeInfo.setStatus(RuntimeInfo.Status.RUNNING); this.runtimeInfo.setStartTime(new Date()); logger.updateRuntimeInfo(this); }