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.
|
deploymentProperties, logger
Constructor and Description |
---|
DefaultAutoDeploymentStrategy() |
DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties,
Set<String> autoDeployTenants) |
DefaultAutoDeploymentStrategy(Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
deploy(Resource[] resources,
ConversationDefinitionService conversationDefinitionService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
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)public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
protected String getDeploymentMode()
getDeploymentMode
in class CommonAutoDeploymentStrategy<EngageEngine>
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, EngageEngine engine)
deployResourcesInternal
in class CommonAutoDeploymentStrategy<EngageEngine>
protected void deploy(Resource[] resources, ConversationDefinitionService conversationDefinitionService, String tenantId)