Package org.openmetadata.service.apps
Class AbstractNativeApplication
java.lang.Object
org.openmetadata.service.apps.AbstractNativeApplication
- All Implemented Interfaces:
NativeApplication,org.quartz.Job
- Direct Known Subclasses:
DataInsightsApp,DataInsightsReportApp,NoOpTestApplication,SearchIndexApp
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute(org.quartz.JobExecutionContext jobExecutionContext) static AppRuntimegetAppRuntime(App app) protected IngestionPipelinegetIngestionPipeline(CreateIngestionPipeline create, String botName, String user) protected AppRunRecordgetJobRecord(org.quartz.JobExecutionContext jobExecutionContext) voidinit(App app, CollectionDAO dao, SearchRepository searchRepository) voidinstall()protected voidpushAppStatusUpdates(org.quartz.JobExecutionContext jobExecutionContext, AppRunRecord appRecord, boolean update) voidvoidvoidprotected voidvalidateServerExecutableApp(AppRuntime context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openmetadata.service.apps.NativeApplication
startApp
-
Field Details
-
collectionDAO
-
searchRepository
-
-
Constructor Details
-
AbstractNativeApplication
public AbstractNativeApplication()
-
-
Method Details
-
init
- Specified by:
initin interfaceNativeApplication
-
install
public void install()- Specified by:
installin interfaceNativeApplication
-
triggerOnDemand
public void triggerOnDemand()- Specified by:
triggerOnDemandin interfaceNativeApplication
-
scheduleInternal
public void scheduleInternal() -
scheduleExternal
public void scheduleExternal() -
validateServerExecutableApp
-
execute
public void execute(org.quartz.JobExecutionContext jobExecutionContext) - Specified by:
executein interfaceorg.quartz.Job
-
configure
public void configure()- Specified by:
configurein interfaceNativeApplication
-
getAppRuntime
-
getIngestionPipeline
protected IngestionPipeline getIngestionPipeline(CreateIngestionPipeline create, String botName, String user) -
getJobRecord
-
pushAppStatusUpdates
protected void pushAppStatusUpdates(org.quartz.JobExecutionContext jobExecutionContext, AppRunRecord appRecord, boolean update)
-