public class DefaultAutoDeploymentStrategy extends AbstractPolicyAutoDeploymentStrategy
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(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties,
Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected Collection<org.springframework.core.io.Resource> |
collectDeployments(org.springframework.core.io.Resource[] resources,
PolicyResourceConverter policyResourceConverter) |
protected void |
deploy(String deploymentNameHint,
Collection<org.springframework.core.io.Resource> resources,
PolicyRepositoryService policyRepositoryService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
PolicyEngine engine) |
protected String |
getDeploymentMode() |
addResource, addResource, getLockManager
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
public static final String DEPLOYMENT_MODE
protected String getDeploymentMode()
getDeploymentMode
in class org.flowable.common.spring.CommonAutoDeploymentStrategy<PolicyEngine>
protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, PolicyEngine engine)
deployResourcesInternal
in class org.flowable.common.spring.CommonAutoDeploymentStrategy<PolicyEngine>
protected void deploy(String deploymentNameHint, Collection<org.springframework.core.io.Resource> resources, PolicyRepositoryService policyRepositoryService, String tenantId)
protected Collection<org.springframework.core.io.Resource> collectDeployments(org.springframework.core.io.Resource[] resources, PolicyResourceConverter policyResourceConverter)
Copyright © 2019. All rights reserved.