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>
public class DefaultAutoDeploymentStrategy extends AbstractDataObjectAutoDeploymentStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
autoDeployTenants
static String
DEPLOYMENT_MODE
The deployment mode this strategy handles.-
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
-
Constructor Summary
Constructors Constructor Description DefaultAutoDeploymentStrategy()
DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
getDeploymentMode()
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 Detail
-
DEPLOYMENT_MODE
public static final String DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy()
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Detail
-
getDeploymentMode
protected String 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
protected boolean isDataObjectResource(String resourceName)
-
isDataObjectSchemaResource
protected boolean isDataObjectSchemaResource(String resourceName)
-
-