public Jobs subset(String[] jobIds){
  final List<Job> subsetResult=new ArrayList<Job>();
  for (  String jobId : jobIds) {
    Job job=jobMap.get(jobId);
    if (job.isAnalysis()) {
      subsetResult.add(job);
    }
  }
  return new Jobs(subsetResult);
}

public Jobs subset ( String [ ] jobIds ) { final List < Job > subsetResult = new ArrayList < Job > ( ) ; for ( String jobId : jobIds ) { Job job = jobMap . get ( jobId ) ; if ( job . isAnalysis ( ) ) { subsetResult . add ( job ) ; } } return new Jobs ( subsetResult ) ; }
returns a subset of all of the defined jobs that are restricted by the jobids ( bean ids ) passed in . < p / > this is done on the basis that the actual jobid contains the id passed in . < p / > allows analyses to be restricted , e . g . by command line arguments .
