Class AbstractDmnAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<DmnEngine>
org.flowable.dmn.spring.autodeployment.AbstractDmnAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<DmnEngine>
- Direct Known Subclasses:
DefaultAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
public abstract class AbstractDmnAutoDeploymentStrategy
extends CommonAutoDeploymentStrategy<DmnEngine>
Abstract base class for implementations of
AutoDeploymentStrategy
.- Author:
- Tiese Barrell, Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractDmnAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addResource
(Resource resource, String resourceName, DmnDeploymentBuilder deploymentBuilder) protected void
addResource
(Resource resource, DmnDeploymentBuilder deploymentBuilder) protected LockManager
getLockManager
(DmnEngine 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
-
AbstractDmnAutoDeploymentStrategy
public AbstractDmnAutoDeploymentStrategy() -
AbstractDmnAutoDeploymentStrategy
-
-
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<DmnEngine>
- 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, DmnDeploymentBuilder deploymentBuilder)
-