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:
org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>
public class DefaultAutoDeploymentStrategy extends AbstractDataObjectAutoDeploymentStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>autoDeployTenantsstatic java.lang.StringDEPLOYMENT_MODEThe deployment mode this strategy handles.
-
Constructor Summary
Constructors Constructor Description DefaultAutoDeploymentStrategy()DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties, java.util.Set<java.lang.String> autoDeployTenants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter, org.springframework.core.io.Resource[] resources, java.util.Map<java.lang.String,org.springframework.core.io.Resource> dataObjectResources, java.util.Collection<org.springframework.core.io.Resource> changelogResources)protected voiddeploy(java.lang.String deploymentName, java.util.Collection<org.springframework.core.io.Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, java.lang.String tenantId)protected voiddeployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, DataObjectEngine engine)protected java.lang.StringgetDeploymentMode()protected booleanisDataObjectResource(java.lang.String resourceName)protected booleanisDataObjectSchemaResource(java.lang.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 java.lang.String DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
- Constant Field Values
-
autoDeployTenants
protected final java.util.Set<java.lang.String> autoDeployTenants
-
-
Method Detail
-
getDeploymentMode
protected java.lang.String getDeploymentMode()
- Specified by:
getDeploymentModein classorg.flowable.common.spring.CommonAutoDeploymentStrategy<DataObjectEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, DataObjectEngine engine)- Specified by:
deployResourcesInternalin classorg.flowable.common.spring.CommonAutoDeploymentStrategy<DataObjectEngine>
-
deploy
protected void deploy(java.lang.String deploymentName, java.util.Collection<org.springframework.core.io.Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, java.lang.String tenantId)
-
collectDeploymentResources
protected void collectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter, org.springframework.core.io.Resource[] resources, java.util.Map<java.lang.String,org.springframework.core.io.Resource> dataObjectResources, java.util.Collection<org.springframework.core.io.Resource> changelogResources)
-
isDataObjectResource
protected boolean isDataObjectResource(java.lang.String resourceName)
-
isDataObjectSchemaResource
protected boolean isDataObjectSchemaResource(java.lang.String resourceName)
-
-