Class ResourceParentFolderAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<CmmnEngine>
org.flowable.cmmn.spring.autodeployment.AbstractCmmnAutoDeploymentStrategy
org.flowable.cmmn.spring.autodeployment.ResourceParentFolderAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<CmmnEngine>
Implementation of
AutoDeploymentStrategy
that performs a separate deployment for each set of Resources that share the same parent folder.
The namehint is used to prefix the names of deployments. If the parent folder for a Resource cannot be determined, the resource's name is used.- Author:
- Tiese Barrell, Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger -
Constructor Summary
ConstructorsConstructorDescriptionResourceParentFolderAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, CmmnEngine engine) protected StringMethods inherited from class org.flowable.cmmn.spring.autodeployment.AbstractCmmnAutoDeploymentStrategy
addResource, addResource, getLockManagerMethods 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:
-
-
Constructor Details
-
ResourceParentFolderAutoDeploymentStrategy
public ResourceParentFolderAutoDeploymentStrategy() -
ResourceParentFolderAutoDeploymentStrategy
public ResourceParentFolderAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentModein classCommonAutoDeploymentStrategy<CmmnEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, CmmnEngine engine) - Specified by:
deployResourcesInternalin classCommonAutoDeploymentStrategy<CmmnEngine>
-