Class MasterDataInstanceAutoImporter
java.lang.Object
com.flowable.dataobject.engine.impl.master.MasterDataInstanceAutoImporter
- All Implemented Interfaces:
Lifecycle,Phased,SmartLifecycle
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DataObjectEngineprotected final CommonAutoDeploymentPropertiesprotected final booleanprotected final Objectprotected final org.slf4j.Loggerprotected final Collection<Resource>protected booleanFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionMasterDataInstanceAutoImporter(DataObjectEngine dataObjectEngine, CommonAutoDeploymentProperties deploymentProperties, Collection<Resource> masterDataDocumentResources, boolean forceOverwrite) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
isAutoStartup, stop
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
dataObjectEngine
-
deploymentProperties
-
masterDataDocumentResources
-
forceOverwrite
protected final boolean forceOverwrite -
lifeCycleMonitor
-
running
protected boolean running
-
-
Constructor Details
-
MasterDataInstanceAutoImporter
public MasterDataInstanceAutoImporter(DataObjectEngine dataObjectEngine, CommonAutoDeploymentProperties deploymentProperties, Collection<Resource> masterDataDocumentResources, boolean forceOverwrite)
-
-
Method Details
-
getPhase
public int getPhase()- Specified by:
getPhasein interfacePhased- Specified by:
getPhasein interfaceSmartLifecycle
-
stop
public void stop() -
isRunning
public boolean isRunning() -
start
public void start() -
startAutoImport
protected void startAutoImport() -
determineLockName
-
importMasterDataDocuments
protected void importMasterDataDocuments() -
determineResourceName
-