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>
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorDescriptionDefaultAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptioncollectDeploymentResources
(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
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 Details
-
DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
-
autoDeployTenants
-
-
Constructor Details
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy() -
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<ActionEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, ActionEngine engine) - Specified by:
deployResourcesInternal
in 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)
-