@Override public void cleanUp(ExecutionMonitor monitor, ExecutionContext context) throws InterruptedException, IOException { monitor.open(1); try { ExecutionTracker.Record record = new ExecutionTracker.Record(context, null, this); tracker.add(id, record); } finally { monitor.close(); } }
@Override public void execute(ExecutionMonitor monitor, ExecutionContext context, CommandScript script) throws InterruptedException, IOException { monitor.open(1); try { ExecutionTracker.Record record = new ExecutionTracker.Record(context, script, this); tracker.add(id, record); } finally { monitor.close(); } }