Class ResourceParentFolderAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
com.flowable.form.spring.autodeployment.AbstractFormAutoDeploymentStrategy
com.flowable.form.spring.autodeployment.ResourceParentFolderAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<FormEngine>
Implementation of
AutoDeploymentStrategy
that performs a separate deployment for each set of Resource
s 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
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorDescriptionResourceParentFolderAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deployResourcesInternal
(String deploymentNameHint, Resource[] resources, FormEngine engine) protected String
Methods inherited from class com.flowable.form.spring.autodeployment.AbstractFormAutoDeploymentStrategy
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:
-
-
Constructor Details
-
ResourceParentFolderAutoDeploymentStrategy
public ResourceParentFolderAutoDeploymentStrategy() -
ResourceParentFolderAutoDeploymentStrategy
public ResourceParentFolderAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<FormEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, FormEngine engine) - Specified by:
deployResourcesInternal
in classCommonAutoDeploymentStrategy<FormEngine>
-