R
- public interface ResourceProcessor<R>
Resource
visitor. It ensures the processing of different
types of resources. Modifier and Type | Method and Description |
---|---|
R |
process(ClasspathResource classpath)
Processes a resource of type
ClasspathResource . |
R |
process(RepositoryResource repository)
Processes a resource of type
RepositoryResource . |
R |
process(Resource resource)
Processes a resource of type
Resource . |
R process(Resource resource) throws ResourceProcessingError
Resource
.resource
- a Resource
to be processed.ResourceProcessingError
R process(ClasspathResource classpath) throws ResourceProcessingError
ClasspathResource
.classpath
- the ClasspathResource
to be processed.ResourceProcessingError
R process(RepositoryResource repository) throws ResourceProcessingError
RepositoryResource
.repository
- a RepositoryResource
to be processed.ResourceProcessingError
Copyright © 2005–2017 Alfresco Software. All rights reserved.