package edu.mayo.qia.qin.sergeant;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
import java.util.concurrent.ExecutionException;

import org.zeroturnaround.exec.StartedProcess;

import com.fasterxml.jackson.annotation.JsonIgnore;

public abstract class JobInfo {

  public String startTime = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z").format(new Date());
  public long startTimeInMillis = new Date().getTime();

  public String uuid = UUID.randomUUID().toString();
  public String commandLine;
  public String endPoint;

  public abstract String getStatus();

  public abstract String getOutput() throws Exception;

  public abstract void shutdown() throws Exception;
}

@@ -113,157 +113,8 @@
 UID;
-%0Aimport java.util.concurrent.ExecutionException;%0A%0Aimport org.zeroturnaround.exec.StartedProcess;%0A%0Aimport com.fasterxml.jackson.annotation.JsonIgnore;
 %0A%0Apu

Clean up imports