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.
|
deploymentProperties, logger| Constructor and Description |
|---|
ResourceParentFolderAutoDeploymentStrategy() |
ResourceParentFolderAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployResourcesInternal(String deploymentNameHint,
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(CommonAutoDeploymentProperties deploymentProperties)
protected String getDeploymentMode()
getDeploymentMode in class CommonAutoDeploymentStrategy<FormEngine>protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, FormEngine engine)
deployResourcesInternal in class CommonAutoDeploymentStrategy<FormEngine>