code: protected void writeStateSummary(JsonWriter jsonWriter) throws IOException {
      jsonWriter.name("job name").value(this.getJobName()).name("job id").value(this.getJobId()).name("job state")
          .value(this.getState().name()).name("start time").value(this.getStartTime()).name("end time")
          .value(this.getEndTime()).name("duration").value(this.getDuration()).name("tasks").value(this.getTaskCount())
          .name("completed tasks").value(this.getCompletedTasks());
    }
docs: Write a summary to the json document
  
  @param jsonWriter a {@link com.google.gson.stream.JsonWriter}
  used to write the json document