java.lang.Object
org.odpi.openmetadata.governanceservers.lineagewarehouse.scheduler.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 Details

    • JobConfiguration

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

    • 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