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(org.springframework.core.io.Resource[] resources,
org.flowable.app.api.AppRepositoryService repositoryService)
Performs deployment for the provided resources, using the provided name as a hint and the provided
AppRepositoryService 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(org.springframework.core.io.Resource[] resources, org.flowable.app.api.AppRepositoryService repositoryService)
AppRepositoryService
to perform deployment(s).resources
- the resources to be deployedrepositoryService
- the repository service to use for deployment(s)Copyright © 2019. All rights reserved.