Class DefaultAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<EngageEngine>
com.flowable.engage.engine.autodeployment.AbstractEngageAutoDeploymentStrategy
com.flowable.engage.engine.autodeployment.DefaultAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<EngageEngine>
- Author:
- Filip Hrisafov, Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAutoDeploymentStrategy
(Set<String> autoDeployTenants) DefaultAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deploy
(Resource[] resources, ConversationDefinitionService conversationDefinitionService, String tenantId) protected void
deployResourcesInternal
(String deploymentNameHint, Resource[] resources, EngageEngine engine) protected String
Methods inherited from class com.flowable.engage.engine.autodeployment.AbstractEngageAutoDeploymentStrategy
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
- Parameters:
autoDeployTenants
- the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<EngageEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, EngageEngine engine) - Specified by:
deployResourcesInternal
in classCommonAutoDeploymentStrategy<EngageEngine>
-
deploy
protected void deploy(Resource[] resources, ConversationDefinitionService conversationDefinitionService, String tenantId)
-