public interface AutoDeploymentStrategy
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.
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). |
boolean |
handlesMode(String mode)
Determines whether the strategy handles deployments for the provided deployment mode.
|
boolean handlesMode(String mode)
mode
- the mode to determine handling forvoid deployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.flowable.form.api.FormRepositoryService repositoryService)
FormRepositoryService
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.