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.
|
deploymentProperties, logger| Constructor and Description |
|---|
DefaultAutoDeploymentStrategy() |
DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties,
Set<String> autoDeployTenants) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter,
Resource[] resources,
Map<String,Resource> dataObjectResources,
Collection<Resource> changelogResources) |
protected void |
deploy(String deploymentName,
Collection<Resource> resources,
DataObjectRepositoryService dataObjectRepositoryService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
Resource[] resources,
DataObjectEngine engine) |
protected String |
getDeploymentMode() |
protected boolean |
isDataObjectResource(String resourceName) |
protected boolean |
isDataObjectSchemaResource(String resourceName) |
addResource, addResource, getLockManagerdeployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentPropertiespublic static final String DEPLOYMENT_MODE
public DefaultAutoDeploymentStrategy()
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
protected String getDeploymentMode()
getDeploymentMode in class CommonAutoDeploymentStrategy<DataObjectEngine>protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, DataObjectEngine engine)
deployResourcesInternal in class CommonAutoDeploymentStrategy<DataObjectEngine>protected void deploy(String deploymentName, Collection<Resource> resources, DataObjectRepositoryService dataObjectRepositoryService, String tenantId)
protected void collectDeploymentResources(DataObjectResourceConverter dataObjectResourceConverter, Resource[] resources, Map<String,Resource> dataObjectResources, Collection<Resource> changelogResources)
protected boolean isDataObjectResource(String resourceName)
protected boolean isDataObjectSchemaResource(String resourceName)