Class DefaultAutoDeploymentStrategy
- java.lang.Object
-
- org.flowable.common.spring.CommonAutoDeploymentStrategy<ActionEngine>
-
- com.flowable.action.engine.autodeployment.AbstractActionAutoDeploymentStrategy
-
- com.flowable.action.engine.autodeployment.DefaultAutoDeploymentStrategy
-
- All Implemented Interfaces:
AutoDeploymentStrategy<ActionEngine>
public class DefaultAutoDeploymentStrategy extends AbstractActionAutoDeploymentStrategy
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>autoDeployTenantsstatic StringDEPLOYMENT_MODEThe deployment mode this strategy handles.-
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
-
Constructor Summary
Constructors Constructor Description DefaultAutoDeploymentStrategy()DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Resource>collectDeploymentResources(ActionResourceConverter actionResourceConverter, Resource[] resources)protected voiddeploy(String deploymentName, Collection<Resource> resources, ActionRepositoryService actionRepositoryService, String tenantId)protected voiddeployResourcesInternal(String deploymentNameHint, Resource[] resources, ActionEngine engine)protected StringgetDeploymentMode()-
Methods inherited from class com.flowable.action.engine.autodeployment.AbstractActionAutoDeploymentStrategy
addResource, addResource, getLockManager
-
Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
-
-
-
Field Detail
-
DEPLOYMENT_MODE
public static final String DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy()
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Detail
-
getDeploymentMode
protected String getDeploymentMode()
- Specified by:
getDeploymentModein classCommonAutoDeploymentStrategy<ActionEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, ActionEngine engine)
- Specified by:
deployResourcesInternalin classCommonAutoDeploymentStrategy<ActionEngine>
-
deploy
protected void deploy(String deploymentName, Collection<Resource> resources, ActionRepositoryService actionRepositoryService, String tenantId)
-
collectDeploymentResources
protected Map<String,Resource> collectDeploymentResources(ActionResourceConverter actionResourceConverter, Resource[] resources)
-
-