Promise<List<WrapSpec>> wrapSpecPromise = new Job() {
                @Override
                public List<WrapSpec> doJobWithResult() throws Exception {
                    return PkgLoad.findDistinctWrapSpecBetweenDates(pkgLine, startDate, endDate);               
                }
            }.now();
Is it possible to pass the values pkgLine, startDate, endDate into this method? Thanks for any help.
EDIT: Is this something that is advised against? Or not. Thanks.
    for ( final PkgLine pkgLine : pkgLineList ) {
            Promise<List<WrapSpec>> distinctWrapPromise = new Job() {
                @Override
                public List<WrapSpec> doJobWithResult() throws Exception {
                    return PkgLoad.findDistinctWrapSpecBetweenDates( pkgLine, startDate, endDate );
                }
            }.now();
            promiseList.add( distinctWrapPromise );
        }
 
     
     
    