public abstract class ComponentConfiguration extends Object
A ComponentConfiguration
allows to define a mule component configuration programmatically by defining the component
namespace, name and the set of simple attributes or complex nested attributes required by the component.
Modifier and Type | Field and Description |
---|---|
protected ComponentLocation |
componentLocation |
protected ComponentIdentifier |
identifier |
protected List<ComponentConfiguration> |
nestedComponents |
protected Map<String,String> |
parameters |
protected Map<String,Object> |
properties |
protected String |
value |
Modifier | Constructor and Description |
---|---|
protected |
ComponentConfiguration() |
Modifier and Type | Method and Description |
---|---|
ComponentLocation |
getComponentLocation() |
ComponentIdentifier |
getIdentifier() |
List<ComponentConfiguration> |
getNestedComponents() |
Map<String,String> |
getParameters() |
Optional<Object> |
getProperty(String name) |
Optional<String> |
getValue() |
protected ComponentIdentifier identifier
protected ComponentLocation componentLocation
protected List<ComponentConfiguration> nestedComponents
protected String value
public ComponentIdentifier getIdentifier()
public ComponentLocation getComponentLocation()
public Map<String,String> getParameters()
public Optional<Object> getProperty(String name)
name
- the name of the propertyOptional.empty()
if none was found.public List<ComponentConfiguration> getNestedComponents()
Copyright © 2018. All rights reserved.