Package org.apache.sling.rewriter
Interface ProcessorConfiguration
-
- All Known Subinterfaces:
PipelineConfiguration
public interface ProcessorConfiguration
Configuration of a processor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getConfiguration()
Return the configuration for this component.java.lang.String
getType()
The name/type of the component.boolean
match(ProcessingContext context)
Check if this processor configuration matches for the current request.
-
-
-
Method Detail
-
getType
java.lang.String getType()
The name/type of the component.- Returns:
- A unique name for this component.
-
getConfiguration
java.util.Map<java.lang.String,java.lang.Object> getConfiguration()
Return the configuration for this component.- Returns:
- The configuration for this component or an empty map if there is none.
-
match
boolean match(ProcessingContext context)
Check if this processor configuration matches for the current request.- Returns:
- true or false
-
-