scheduleRequest.getSimpleJobTrigger() == null && scheduleRequest.getComplexJobTrigger() == null
&& scheduleRequest.getCronJobTrigger() == null;
// add 10 seconds to the RIB to ensure execution (see PPP-3264)
IJobTrigger jobTrigger =
runInBackground ? new SimpleJobTrigger( new Date( System.currentTimeMillis() + 10000 ), null, 0, 0 ) : scheduleRequest.getSimpleJobTrigger();
if ( scheduleRequest.getSimpleJobTrigger() != null ) {
SimpleJobTrigger simpleJobTrigger = scheduleRequest.getSimpleJobTrigger();
if ( simpleJobTrigger.getStartTime() == null ) {
simpleJobTrigger.setStartTime( new Date() );
}
jobTrigger = simpleJobTrigger;
} else if ( scheduleRequest.getComplexJobTrigger() != null ) {