return SchedulerResourceUtil.convertScheduleRequestToJobTrigger( jobScheduleRequest, scheduler );
}
public JobScheduleRequest getJobInfo() {
JobScheduleRequest jobRequest = new JobScheduleRequest();
ComplexJobTriggerProxy proxyTrigger = new ComplexJobTriggerProxy();
proxyTrigger.setDaysOfMonth( new int[]{1, 2, 3} );
proxyTrigger.setDaysOfWeek( new int[]{1, 2, 3} );
proxyTrigger.setMonthsOfYear( new int[]{1, 2, 3} );
proxyTrigger.setYears( new int[]{2012, 2013} );
proxyTrigger.setStartTime( new Date() );
jobRequest.setComplexJobTrigger( proxyTrigger );
jobRequest.setInputFile( "aaaaa" );
jobRequest.setOutputFile( "bbbbb" );
ArrayList<JobScheduleParam> jobParams = new ArrayList<JobScheduleParam>();
jobParams.add( new JobScheduleParam( "param1", "aString" ) );