public class ResourceParentFolderAutoDeploymentStrategy extends AbstractFormAutoDeploymentStrategy
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.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, getLockManager
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
public 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>