Class MasterDataInstanceAutoImporter
java.lang.Object
com.flowable.dataobject.engine.impl.master.MasterDataInstanceAutoImporter
- All Implemented Interfaces:
Lifecycle
,Phased
,SmartLifecycle
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DataObjectEngine
protected final CommonAutoDeploymentProperties
protected final boolean
protected final Object
protected final org.slf4j.Logger
protected final Collection<Resource>
protected boolean
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ConstructorDescriptionMasterDataInstanceAutoImporter
(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, wait
Methods 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:
getPhase
in interfacePhased
- Specified by:
getPhase
in interfaceSmartLifecycle
-
stop
public void stop() -
isRunning
public boolean isRunning() -
start
public void start() -
startAutoImport
protected void startAutoImport() -
determineLockName
-
importMasterDataDocuments
protected void importMasterDataDocuments() -
determineResourceName
-