public interface AutoDeploymentStrategy
Resources 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 |
|---|---|
boolean |
handlesMode(String mode)
Determines whether the strategy handles deployments for the provided deployment mode.
|
void |
registerActionDefinitions(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
PolicyRepositoryService policyRepositoryService)
Performs deployment for the provided resources, using the provided name as a hint and the provided
PolicyRepositoryService to perform deployment(s). |
boolean handlesMode(String mode)
mode - the mode to determine handling forvoid registerActionDefinitions(String deploymentNameHint, org.springframework.core.io.Resource[] resources, PolicyRepositoryService policyRepositoryService)
PolicyRepositoryService to perform deployment(s).deploymentNameHint - the hint for the name of deployment(s) performedresources - the resources to be deployedpolicyRepositoryService - the repository service to use for deployment(s)Copyright © 2019. All rights reserved.