public class DefaultAutoDeploymentStrategy extends AbstractEngageAutoDeploymentStrategy
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) |
DefaultAutoDeploymentStrategy(Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
deploy(org.springframework.core.io.Resource[] resources,
ConversationDefinitionService conversationDefinitionService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
EngageEngine engine) |
protected String |
getDeploymentMode() |
addResource, addResource, getLockManager
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
public static final String DEPLOYMENT_MODE
public DefaultAutoDeploymentStrategy()
public DefaultAutoDeploymentStrategy(Set<String> autoDeployTenants)
autoDeployTenants
- the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)protected String getDeploymentMode()
getDeploymentMode
in class org.flowable.common.spring.CommonAutoDeploymentStrategy<EngageEngine>
protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, EngageEngine engine)
deployResourcesInternal
in class org.flowable.common.spring.CommonAutoDeploymentStrategy<EngageEngine>
protected void deploy(org.springframework.core.io.Resource[] resources, ConversationDefinitionService conversationDefinitionService, String tenantId)
Copyright © 2019. All rights reserved.