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>autoDeployTenantsstatic StringDEPLOYMENT_MODEThe 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 voidcollectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter, Resource[] resources, Map<String,Resource> dataObjectResources, Collection<Resource> changelogResources)protected voiddeploy(String deploymentName, Collection<Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, String tenantId)protected voiddeployResourcesInternal(String deploymentNameHint, Resource[] resources, DataObjectEngine engine)protected StringgetDeploymentMode()protected booleanisDataObjectResource(String resourceName)protected booleanisDataObjectSchemaResource(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:
getDeploymentModein classCommonAutoDeploymentStrategy<DataObjectEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, DataObjectEngine engine)
- Specified by:
deployResourcesInternalin 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)
-
-