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