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
ConstructorsConstructorDescriptionAbstractNativeApplication(CollectionDAO collectionDAO, SearchRepository searchRepository) -
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) voidvoidinstall()protected voidpushAppStatusUpdates(org.quartz.JobExecutionContext jobExecutionContext, AppRunRecord appRecord, boolean update) voidraisePreviewMessage(App app) 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
-
-
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
-
raisePreviewMessage
- Specified by:
raisePreviewMessagein 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)
-