Class AbstractCmmnAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<CmmnEngine>
org.flowable.cmmn.spring.autodeployment.AbstractCmmnAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<CmmnEngine>
- Direct Known Subclasses:
DefaultAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
public abstract class AbstractCmmnAutoDeploymentStrategy
extends CommonAutoDeploymentStrategy<CmmnEngine>
Abstract base class for implementations of
AutoDeploymentStrategyDeploymentStrategy
.- Author:
- Tiese Barrell, Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractCmmnAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addResource
(Resource resource, String resourceName, CmmnDeploymentBuilder deploymentBuilder) protected void
addResource
(Resource resource, CmmnDeploymentBuilder deploymentBuilder) protected LockManager
getLockManager
(CmmnEngine engine, String deploymentNameHint) Get the lock manager with the givenengine
and thedeploymentNameHint
.Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, deployResourcesInternal, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentMode, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
Constructor Details
-
AbstractCmmnAutoDeploymentStrategy
public AbstractCmmnAutoDeploymentStrategy() -
AbstractCmmnAutoDeploymentStrategy
-
-
Method Details
-
getLockManager
Description copied from class:CommonAutoDeploymentStrategy
Get the lock manager with the givenengine
and thedeploymentNameHint
. Used when the strategy has been configured to use lock for deployments.- Specified by:
getLockManager
in classCommonAutoDeploymentStrategy<CmmnEngine>
- Parameters:
engine
- the engine that can be used to get the lock manager.deploymentNameHint
- the deployment name hint- Returns:
- the lock manager
-
addResource
-
addResource
protected void addResource(Resource resource, String resourceName, CmmnDeploymentBuilder deploymentBuilder)
-