public class ProcessingComponentConfigurationImpl extends Object implements ProcessingComponentConfiguration
Modifier and Type | Field and Description |
---|---|
static ProcessingComponentConfiguration |
EMPTY
Empty configuration.
|
static org.apache.sling.api.resource.ValueMap |
EMPTY_CONFIG
Empty configuration map.
|
CONFIGURATION_COMPONENT_OPTIONAL
Constructor and Description |
---|
ProcessingComponentConfigurationImpl(String type,
org.apache.sling.api.resource.ValueMap config)
Create a new configuration.
|
Modifier and Type | Method and Description |
---|---|
org.apache.sling.api.resource.ValueMap |
getConfiguration()
Return the configuration for this component.
|
String |
getType()
The name/type of the component.
|
String |
toString() |
public static final org.apache.sling.api.resource.ValueMap EMPTY_CONFIG
public static final ProcessingComponentConfiguration EMPTY
public ProcessingComponentConfigurationImpl(String type, org.apache.sling.api.resource.ValueMap config)
type
- The type of the component.config
- The configuration or null if no config is available.public org.apache.sling.api.resource.ValueMap getConfiguration()
ProcessingComponentConfiguration
getConfiguration
in interface ProcessingComponentConfiguration
ProcessingComponentConfiguration.getConfiguration()
public String getType()
ProcessingComponentConfiguration
getType
in interface ProcessingComponentConfiguration
ProcessingComponentConfiguration.getType()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.