SchedulableJobBuilder

public final class SchedulableJobBuilder

Responsible for building jobs based on the given information;

Methods

buildJob

public static SchedulableJob buildJob(JobKey key, JobDataMap dataMap, Trigger trigger)

Builds a job based on the given key, data map and trigger.

Parameters:
  • key – the job key
  • dataMap – the job data map
  • trigger – the job trigger
Throws:
  • SchedulerException – when there were problems while building job
Returns:

the created job