Class DefaultAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
com.flowable.app.engine.impl.autodeployment.AbstractAppAutoDeploymentStrategy
com.flowable.app.engine.impl.autodeployment.DefaultAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<AppEngine>
Default Implementation of
AutoDeploymentStrategy
that performs a separate deployment for each resource by name.- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorDescriptionDefaultAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties) DefaultAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deploy
(Resource[] resources, AppRepositoryService repositoryService, String tenantId) protected void
deployResourcesInternal
(String deploymentNameHint, Resource[] resources, AppEngine engine) protected String
Methods inherited from class com.flowable.app.engine.impl.autodeployment.AbstractAppAutoDeploymentStrategy
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
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<AppEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, AppEngine engine) - Specified by:
deployResourcesInternal
in classCommonAutoDeploymentStrategy<AppEngine>
-
deploy
protected void deploy(Resource[] resources, AppRepositoryService repositoryService, String tenantId)
-