public class ResourceParentFolderAutoDeploymentStrategy extends AbstractFormAutoDeploymentStrategy
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.| Modifier and Type | Field and Description |
|---|---|
static String |
DEPLOYMENT_MODE
The deployment mode this strategy handles.
|
| Constructor and Description |
|---|
ResourceParentFolderAutoDeploymentStrategy() |
ResourceParentFolderAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployResourcesInternal(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
FormEngine engine) |
protected String |
getDeploymentMode() |
addResource, addResource, getLockManagerdeployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentPropertiespublic static final String DEPLOYMENT_MODE
public ResourceParentFolderAutoDeploymentStrategy()
public ResourceParentFolderAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
protected String getDeploymentMode()
getDeploymentMode in class org.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)
deployResourcesInternal in class org.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>Copyright © 2019. All rights reserved.