Package org.alfresco.repo.virtual.ref
Interface ResourceProcessor<R>
-
- Type Parameters:
R-
- All Known Implementing Classes:
TemplateResourceProcessor
public interface ResourceProcessor<R>GenericResourcevisitor. It ensures the processing of different types of resources.- Author:
- Bogdan Horje
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rprocess(ClasspathResource classpath)Processes a resource of typeClasspathResource.Rprocess(RepositoryResource repository)Processes a resource of typeRepositoryResource.Rprocess(Resource resource)Processes a resource of typeResource.
-
-
-
Method Detail
-
process
R process(Resource resource) throws ResourceProcessingError
Processes a resource of typeResource.- Parameters:
resource- aResourceto be processed.- Returns:
- generic parameter R that implementors are parameterised with.
- Throws:
ResourceProcessingError
-
process
R process(ClasspathResource classpath) throws ResourceProcessingError
Processes a resource of typeClasspathResource.- Parameters:
classpath- theClasspathResourceto be processed.- Returns:
- generic parameter R that implementors are parameterised with.
- Throws:
ResourceProcessingError
-
process
R process(RepositoryResource repository) throws ResourceProcessingError
Processes a resource of typeRepositoryResource.- Parameters:
repository- aRepositoryResourceto be processed.- Returns:
- generic parameter R that implementors are parameterised with.
- Throws:
ResourceProcessingError
-
-