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 voidaddResource(Resource resource, String resourceName, DmnDeploymentBuilder deploymentBuilder) protected voidaddResource(Resource resource, DmnDeploymentBuilder deploymentBuilder) protected LockManagergetLockManager(DmnEngine engine, String deploymentNameHint) Get the lock manager with the givenengineand 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:CommonAutoDeploymentStrategyGet the lock manager with the givenengineand thedeploymentNameHint. Used when the strategy has been configured to use lock for deployments.- Specified by:
getLockManagerin 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)
-