Class JobConfiguration
java.lang.Object
org.odpi.openmetadata.governanceservers.openlineage.scheduler.JobConfiguration
- Direct Known Subclasses:
AssetLineageUpdateJobConfiguration
Used for setting up the configuration for a Quartz scheduled job using the lineage graph as part of the data map.
-
Constructor Summary
ConstructorsConstructorDescriptionJobConfiguration(org.odpi.openmetadata.governanceservers.openlineage.OpenLineageGraphConnector openLineageGraphConnector, String jobName, Class<? extends org.quartz.Job> jobClass, int jobInterval) Instantiates a new Job configuration. -
Method Summary
-
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 graphjobName- the job namejobClass- the job classjobInterval- 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
-