Class DefaultAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<DataObjectEngine>
com.flowable.dataobject.engine.autodeployment.AbstractDataObjectAutoDeploymentStrategy
com.flowable.dataobject.engine.autodeployment.DefaultAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<DataObjectEngine>
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorDescriptionDefaultAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectDeploymentResources
(DataObjectResourceConverter dataObjectResourceConverter, Resource[] resources, Map<String, Resource> dataObjectResources, Collection<Resource> changelogResources) protected void
deploy
(String deploymentName, Collection<Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, String tenantId) protected void
deployResourcesInternal
(String deploymentNameHint, Resource[] resources, DataObjectEngine engine) protected String
protected boolean
isDataObjectResource
(String resourceName) protected boolean
isDataObjectSchemaResource
(String resourceName) Methods inherited from class com.flowable.dataobject.engine.autodeployment.AbstractDataObjectAutoDeploymentStrategy
addResource, addResource, getLockManager
Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
Field Details
-
DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
-
autoDeployTenants
-
-
Constructor Details
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy() -
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<DataObjectEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, DataObjectEngine engine) - Specified by:
deployResourcesInternal
in classCommonAutoDeploymentStrategy<DataObjectEngine>
-
deploy
protected void deploy(String deploymentName, Collection<Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, String tenantId) -
collectDeploymentResources
protected void collectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter, Resource[] resources, Map<String, Resource> dataObjectResources, Collection<Resource> changelogResources) -
isDataObjectResource
-
isDataObjectSchemaResource
-