public class DefaultAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
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(Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
deploy(org.springframework.core.io.Resource[] resources,
ConversationDefinitionService conversationDefinitionService,
String tenantId) |
protected String |
getDeploymentMode()
Gets the deployment mode this strategy handles.
|
void |
registerConversationDefinitions(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
ConversationDefinitionService conversationDefinitionService)
Performs deployment for the provided resources, using the provided name as a hint.
|
determineResourceName, handlesMode
public static final String DEPLOYMENT_MODE
protected String getDeploymentMode()
AbstractAutoDeploymentStrategy
getDeploymentMode
in class AbstractAutoDeploymentStrategy
public void registerConversationDefinitions(String deploymentNameHint, org.springframework.core.io.Resource[] resources, ConversationDefinitionService conversationDefinitionService)
AutoDeploymentStrategy
deploymentNameHint
- the hint for the name of deployment(s) performedresources
- the resources to be deployedconversationDefinitionService
- the definition service to use for deployment(s)protected void deploy(org.springframework.core.io.Resource[] resources, ConversationDefinitionService conversationDefinitionService, String tenantId)
Copyright © 2019. All rights reserved.