public class DefaultAutoDeploymentStrategy extends AbstractDataObjectAutoDeploymentStrategy
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
static String |
DEPLOYMENT_MODE
The deployment mode this strategy handles.
|
Constructor and Description |
---|
DefaultAutoDeploymentStrategy() |
DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties,
Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter,
org.springframework.core.io.Resource[] resources,
Map<String,org.springframework.core.io.Resource> dataObjectResources,
Collection<org.springframework.core.io.Resource> changelogResources) |
protected void |
deploy(String deploymentName,
Collection<org.springframework.core.io.Resource> resources,
DataObjectRepositoryService dataObjectRepositoryService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
DataObjectEngine engine) |
protected String |
getDeploymentMode() |
protected boolean |
isDataObjectResource(String resourceName) |
protected boolean |
isDataObjectSchemaResource(String resourceName) |
addResource, addResource, getLockManager
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
public static final String DEPLOYMENT_MODE
protected String getDeploymentMode()
getDeploymentMode
in class org.flowable.common.spring.CommonAutoDeploymentStrategy<DataObjectEngine>
protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, DataObjectEngine engine)
deployResourcesInternal
in class org.flowable.common.spring.CommonAutoDeploymentStrategy<DataObjectEngine>
protected void deploy(String deploymentName, Collection<org.springframework.core.io.Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, String tenantId)
protected void collectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter, org.springframework.core.io.Resource[] resources, Map<String,org.springframework.core.io.Resource> dataObjectResources, Collection<org.springframework.core.io.Resource> changelogResources)
protected boolean isDataObjectResource(String resourceName)
protected boolean isDataObjectSchemaResource(String resourceName)
Copyright © 2019. All rights reserved.