java.lang.Object
org.odpi.openmetadata.governanceservers.openlineage.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 Summary

    Constructors
    Constructor
    Description
    JobConfiguration(org.odpi.openmetadata.governanceservers.openlineage.OpenLineageGraphConnector openLineageGraphConnector, String jobName, Class<? extends org.quartz.Job> jobClass, int jobInterval)
    Instantiates a new Job configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Start a scheduler and a job using it.
    void
    Stops future job execution by shutting down the scheduler

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JobConfiguration

      public JobConfiguration(org.odpi.openmetadata.governanceservers.openlineage.OpenLineageGraphConnector openLineageGraphConnector, String jobName, Class<? extends org.quartz.Job> jobClass, int jobInterval)
      Instantiates a new Job configuration.
      Parameters:
      openLineageGraphConnector - 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