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(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
TemplateRepositoryService templateRepositoryService,
String tenantId) |
protected String |
getDeploymentMode()
Gets the deployment mode this strategy handles.
|
void |
registerTemplateDefinitions(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
TemplateRepositoryService templateRepositoryService)
Performs deployment for the provided resources, using the provided name as a hint and the provided
TemplateRepositoryService to perform deployment(s). |
determineResourceName, handlesModepublic static final String DEPLOYMENT_MODE
protected String getDeploymentMode()
AbstractAutoDeploymentStrategygetDeploymentMode in class AbstractAutoDeploymentStrategypublic void registerTemplateDefinitions(String deploymentNameHint, org.springframework.core.io.Resource[] resources, TemplateRepositoryService templateRepositoryService)
AutoDeploymentStrategyTemplateRepositoryService to perform deployment(s).deploymentNameHint - the hint for the name of deployment(s) performedresources - the resources to be deployedtemplateRepositoryService - the repository service to use for deployment(s)protected void deploy(String deploymentNameHint, org.springframework.core.io.Resource[] resources, TemplateRepositoryService templateRepositoryService, String tenantId)
Copyright © 2019. All rights reserved.