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:
org.flowable.common.spring.AutoDeploymentStrategy<FormEngine>
public class ResourceParentFolderAutoDeploymentStrategy extends AbstractFormAutoDeploymentStrategy
Implementation ofAutoDeploymentStrategythat performs a separate deployment for each set ofResources that share the same parent folder. The namehint is used to prefix the names of deployments. If the parent folder for aResourcecannot be determined, the resource's name is used.- Author:
- Tiese Barrell
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEPLOYMENT_MODEThe deployment mode this strategy handles.
-
Constructor Summary
Constructors Constructor Description ResourceParentFolderAutoDeploymentStrategy()ResourceParentFolderAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)protected java.lang.StringgetDeploymentMode()-
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 Detail
-
DEPLOYMENT_MODE
public static final java.lang.String DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDeploymentMode
protected java.lang.String getDeploymentMode()
- Specified by:
getDeploymentModein classorg.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)- Specified by:
deployResourcesInternalin classorg.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
-
-