public class ResourceParentFolderAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
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() |
| Modifier and Type | Method and Description |
|---|---|
void |
deployResources(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
org.flowable.form.api.FormRepositoryService repositoryService)
Performs deployment for the provided resources, using the provided name as a hint and the provided
FormRepositoryService to perform deployment(s). |
protected String |
getDeploymentMode()
Gets the deployment mode this strategy handles.
|
determineResourceName, handlesModepublic static final String DEPLOYMENT_MODE
public ResourceParentFolderAutoDeploymentStrategy()
protected String getDeploymentMode()
AbstractAutoDeploymentStrategygetDeploymentMode in class AbstractAutoDeploymentStrategypublic void deployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.flowable.form.api.FormRepositoryService repositoryService)
AutoDeploymentStrategyFormRepositoryService to perform deployment(s).deploymentNameHint - the hint for the name of deployment(s) performedresources - the resources to be deployedrepositoryService - the repository service to use for deployment(s)Copyright © 2019. All rights reserved.