@Override
  public Map<JobInstance, InstallationRecord> getAllInstalledJobs() {
    Map<JobInstance, InstallationRecord> installations = new HashMap<>();
    for (File jobInstallPath : new File(installationsPath).listFiles()) {
      if (!jobInstallPath.isDirectory()) {
        continue;
      }

      findJobInstances(jobInstallPath, installations);
    }
    return installations;
  }
Required constructor.

@param installationsPath the root path where all Samza jobs are installed.
@param jobConfigFactory  the {@link ConfigFactory} to use to read the job configs.
samza-rest/src/main/java/org/apache/samza/rest/proxy/installation/SimpleInstallationFinder.java