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 |
|---|---|
void |
deployResources(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
RepositoryService repositoryService)
Performs deployment for the provided resources, using the provided name as
a hint and the provided
RepositoryService 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, RepositoryService repositoryService)
RepositoryService to perform deployment(s).deploymentName - the hint for the name of deployment(s) performedresources - the resources to be deployedrepositoryService - the repository service to use for deployment(s)Copyright © 2016 Alfresco. All rights reserved.