@Override
  public List<Job> getAllJobStatuses()
      throws IOException, InterruptedException {
    List<Job> allJobs = new ArrayList<>();
    Collection<JobInstance> jobInstances = getAllJobInstances();
    for (JobInstance jobInstance : jobInstances) {
      allJobs.add(new Job(jobInstance.getJobName(), jobInstance.getJobId()));
    }
    getJobStatusProvider().getJobStatuses(allJobs);

    return allJobs;
  }
Required constructor.

@param config  the config containing the installations path.
samza-rest/src/main/java/org/apache/samza/rest/proxy/job/AbstractJobProxy.java