public class ResourceParentFolderAutoDeploymentStrategy extends AbstractCmmnAutoDeploymentStrategy
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,
org.springframework.core.io.Resource[] resources,
CmmnEngine engine)
Methods that should be implemented by sub classes to perform the actual deployment.
|
protected String |
getDeploymentMode()
Gets the deployment mode this strategy handles.
|
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()
CommonAutoDeploymentStrategygetDeploymentMode in class CommonAutoDeploymentStrategy<CmmnEngine>protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, CmmnEngine engine)
CommonAutoDeploymentStrategydeployResourcesInternal in class CommonAutoDeploymentStrategy<CmmnEngine>deploymentNameHint - the hint for the name of deployment(s) performedresources - the resources to be deployedengine - the engine to use for deployment(s)Copyright © 2023 Flowable. All rights reserved.