Class JobConfiguration
- 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(LineageGraph lineageGraph, String jobName, Class<? extends org.quartz.Job> jobClass, int jobInterval)Instantiates a new Job configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidschedule()Start a scheduler and a job using it.voidstop()Stops future job execution by shutting down the scheduler
-
-
-
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 graphjobName- the job namejobClass- the job classjobInterval- the job interval
-
-