Package org.apache.sling.rewriter
Interface ProcessorManager
public interface ProcessorManager
This service manages the processor configurations.
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessor
(ProcessorConfiguration configuration, ProcessingContext context) Return a pipeline for a pipeline configuration.Return the list of currently available processor configurations.
-
Method Details
-
getProcessorConfigurations
List<ProcessorConfiguration> getProcessorConfigurations()Return the list of currently available processor configurations.- Returns:
- The list of processor configurations in the order to check.
-
getProcessor
Return a pipeline for a pipeline configuration. param configuration the configuration for the processor- Parameters:
configuration
- the configuration for the processorcontext
- the processing context- Returns:
- the processor
- Throws:
SlingException
- If an error occurs during setup
-