public class DefaultAutoDeploymentStrategy extends AbstractActionAutoDeploymentStrategy
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 Map<String,Resource> |
collectDeploymentResources(ActionResourceConverter actionResourceConverter,
Resource[] resources) |
protected void |
deploy(String deploymentName,
Collection<Resource> resources,
ActionRepositoryService actionRepositoryService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
Resource[] resources,
ActionEngine 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(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
protected String getDeploymentMode()
getDeploymentMode
in class CommonAutoDeploymentStrategy<ActionEngine>
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, ActionEngine engine)
deployResourcesInternal
in class CommonAutoDeploymentStrategy<ActionEngine>
protected void deploy(String deploymentName, Collection<Resource> resources, ActionRepositoryService actionRepositoryService, String tenantId)
protected Map<String,Resource> collectDeploymentResources(ActionResourceConverter actionResourceConverter, Resource[] resources)