public void visit(CliContext context, JobExecutionData o, OutputSink sink) throws IOException {
LinkedHashMap<String, Object> values = Maps.newLinkedHashMap();
values.put("jobId", o.getJobId());
values.put("executionId", o.getExecutionId());
JobData job = o.getJob();
values.put("target", job != null ? job.getTargetItemKey() : null);
Action action = null;
if (job != null) {
action = job.getAction();
}
values.put("action", action != null ? action.getType() : null);
values.put("startedAt", o.getStartedAt());
values.put("endedAt", o.getEndedAt());