Package org.flowable.common.spring
Interface AutoDeploymentStrategy<E>
- All Known Implementing Classes:
AbstractCmmnAutoDeploymentStrategy
,AbstractDmnAutoDeploymentStrategy
,AbstractEventAutoDeploymentStrategy
,AbstractProcessAutoDeploymentStrategy
,CommonAutoDeploymentStrategy
,DefaultAutoDeploymentStrategy
,DefaultAutoDeploymentStrategy
,DefaultAutoDeploymentStrategy
,DefaultAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
public interface AutoDeploymentStrategy<E>
Strategy interface for implementations of automatically deploying resources. A strategy may perform any amount of deployments for the
Resource
s it is provided with.
A strategy is capable of handling deployments corresponding to a certain indicated deployment mode. This applicability is verified using the handlesMode(String)
method.
- Author:
- Tiese Barrell, Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deployResources
(String deploymentNameHint, Resource[] resources, E engine) Performs deployment for the provided resources, using the provided name as a hint and the providedengine
to perform deployment(s).boolean
handlesMode
(String mode) Determines whether the strategy handles deployments for the provided deployment mode.
-
Method Details
-
handlesMode
Determines whether the strategy handles deployments for the provided deployment mode.- Parameters:
mode
- the mode to determine handling for- Returns:
- true if the strategy handles the mode; false otherwise
-
deployResources
Performs deployment for the provided resources, using the provided name as a hint and the providedengine
to perform deployment(s).- Parameters:
deploymentNameHint
- the hint for the name of deployment(s) performedresources
- the resources to be deployedengine
- the engine to use for deployment(s)
-