Class DefaultCortexJobRegistry
- java.lang.Object
-
- com.c12e.cortex.profiles.module.job.DefaultCortexJobRegistry
-
- All Implemented Interfaces:
CortexJobRegistry
public class DefaultCortexJobRegistry extends java.lang.Object implements CortexJobRegistry
CortexJobRegistry implementation
-
-
Constructor Summary
Constructors Constructor Description DefaultCortexJobRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildProfileJob
buildProfile(java.lang.String project, java.lang.String profileSchema, CortexContext cortexContext)
Creates an instance of the BuildProfileJob to run with the supplied parametersIngestDataSourceJob
ingestDataSource(java.lang.String project, java.lang.String dataSource, CortexContext cortexContext)
Creates an instance of the IngestDataSourceJob to run with the supplied parameters
-
-
-
Method Detail
-
ingestDataSource
public IngestDataSourceJob ingestDataSource(java.lang.String project, java.lang.String dataSource, CortexContext cortexContext)
Description copied from interface:CortexJobRegistry
Creates an instance of the IngestDataSourceJob to run with the supplied parameters- Specified by:
ingestDataSource
in interfaceCortexJobRegistry
- Parameters:
project
- the projectdataSource
- the DataSource namecortexContext
- the context- Returns:
- instance of IngestDataSourceJob
-
buildProfile
public BuildProfileJob buildProfile(java.lang.String project, java.lang.String profileSchema, CortexContext cortexContext)
Description copied from interface:CortexJobRegistry
Creates an instance of the BuildProfileJob to run with the supplied parameters- Specified by:
buildProfile
in interfaceCortexJobRegistry
- Parameters:
project
- the projectprofileSchema
- the ProfileSchema namecortexContext
- the context- Returns:
- instance of BuildProfileJob
-
-