private static JobConfigs defaultBuildPlans(String... planNames) { JobConfigs plans = new JobConfigs(); for (String name : planNames) { plans.add(defaultBuildPlan(name)); } return plans; }
private JobConfigs toJobConfigs(Collection<CRJob> jobs) { JobConfigs jobConfigs = new JobConfigs(); for (CRJob crJob : jobs) { jobConfigs.add(toJobConfig(crJob)); } return jobConfigs; }