question: 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 ) ; }
target:  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.