public class ProcessorConfigurationImpl extends Object implements PipelineConfiguration
Constructor and Description |
---|
ProcessorConfigurationImpl(org.apache.sling.api.resource.Resource resource)
Constructor.
|
ProcessorConfigurationImpl(String[] contentTypes,
String[] paths,
String[] extensions,
String[] resourceTypes,
boolean unwrapResources,
String[] selectors,
int order,
ProcessingComponentConfiguration generatorConfig,
ProcessingComponentConfiguration[] transformerConfigs,
ProcessingComponentConfiguration serializerConfig,
boolean processErrorResponse)
This is the constructor for a pipeline
|
ProcessorConfigurationImpl(String[] contentTypes,
String[] paths,
String[] extensions,
String[] resourceTypes,
String[] selectors)
This is the constructor for a pipeline
|
Modifier and Type | Method and Description |
---|---|
protected ProcessingComponentConfiguration |
getComponentConfig(org.apache.sling.api.resource.Resource configResource,
String propertyName,
String prefix) |
protected ProcessingComponentConfiguration[] |
getComponentConfigs(org.apache.sling.api.resource.Resource configResource,
String propertyName,
String prefix) |
Map<String,Object> |
getConfiguration()
Return the configuration for this component.
|
ProcessingComponentConfiguration |
getGeneratorConfiguration()
The configuration for the generator.
|
int |
getOrder()
Return the order of this configuration for sorting.
|
ProcessingComponentConfiguration |
getSerializerConfiguration()
The configuration for the serializer.
|
ProcessingComponentConfiguration[] |
getTransformerConfigurations()
The configuration for the transformers.
|
String |
getType()
The name/type of the component.
|
boolean |
isActive()
Is this component active?
|
boolean |
isPipeline()
Is this a pipeline?
|
boolean |
match(ProcessingContext processContext)
Check if this processor configuration matches for the current request.
|
String |
toString() |
public ProcessorConfigurationImpl(String[] contentTypes, String[] paths, String[] extensions, String[] resourceTypes, boolean unwrapResources, String[] selectors, int order, ProcessingComponentConfiguration generatorConfig, ProcessingComponentConfiguration[] transformerConfigs, ProcessingComponentConfiguration serializerConfig, boolean processErrorResponse)
public ProcessorConfigurationImpl(String[] contentTypes, String[] paths, String[] extensions, String[] resourceTypes, String[] selectors)
public ProcessorConfigurationImpl(org.apache.sling.api.resource.Resource resource)
protected ProcessingComponentConfiguration getComponentConfig(org.apache.sling.api.resource.Resource configResource, String propertyName, String prefix)
protected ProcessingComponentConfiguration[] getComponentConfigs(org.apache.sling.api.resource.Resource configResource, String propertyName, String prefix)
public int getOrder()
public boolean match(ProcessingContext processContext)
ProcessorConfiguration
match
in interface ProcessorConfiguration
ProcessorConfiguration.match(org.apache.sling.rewriter.ProcessingContext)
public ProcessingComponentConfiguration getGeneratorConfiguration()
getGeneratorConfiguration
in interface PipelineConfiguration
public ProcessingComponentConfiguration getSerializerConfiguration()
getSerializerConfiguration
in interface PipelineConfiguration
public ProcessingComponentConfiguration[] getTransformerConfigurations()
getTransformerConfigurations
in interface PipelineConfiguration
public boolean isPipeline()
public boolean isActive()
public Map<String,Object> getConfiguration()
ProcessorConfiguration
getConfiguration
in interface ProcessorConfiguration
ProcessorConfiguration.getConfiguration()
public String getType()
ProcessorConfiguration
getType
in interface ProcessorConfiguration
ProcessorConfiguration.getType()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.