Class JobConfiguration

  • Direct Known Subclasses:
    AssetLineageUpdateJobConfiguration

    public class JobConfiguration
    extends Object
    Used for setting up the configuration for a Quartz scheduled job using the lineage graph as part of the data map.
    • Constructor Detail

      • JobConfiguration

        public JobConfiguration​(LineageGraph lineageGraph,
                                String jobName,
                                Class<? extends org.quartz.Job> jobClass,
                                int jobInterval)
        Instantiates a new Job configuration.
        Parameters:
        lineageGraph - the lineage graph
        jobName - the job name
        jobClass - the job class
        jobInterval - the job interval
    • Method Detail

      • schedule

        public void schedule()
        Start a scheduler and a job using it.
      • stop

        public void stop()
        Stops future job execution by shutting down the scheduler