public class SingleResourceAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
AutoDeploymentStrategy
that performs a separate
deployment for each resource by name.Modifier and Type | Field and Description |
---|---|
static String |
DEPLOYMENT_MODE
The deployment mode this strategy handles.
|
Constructor and Description |
---|
SingleResourceAutoDeploymentStrategy() |
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). |
protected String |
getDeploymentMode()
Gets the deployment mode this strategy handles.
|
determineResourceName, handlesMode
public static final String DEPLOYMENT_MODE
public SingleResourceAutoDeploymentStrategy()
protected String getDeploymentMode()
AbstractAutoDeploymentStrategy
getDeploymentMode
in class AbstractAutoDeploymentStrategy
public void deployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, RepositoryService repositoryService)
AutoDeploymentStrategy
RepositoryService
to perform deployment(s).resources
- the resources to be deployedrepositoryService
- the repository service to use for deployment(s)Copyright © 2016 Alfresco. All rights reserved.