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 org.mule.runtime.api.component.location.ComponentLocation |
componentLocation |
protected org.mule.runtime.api.component.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 |
|---|---|
org.mule.runtime.api.component.location.ComponentLocation |
getComponentLocation() |
org.mule.runtime.api.component.ComponentIdentifier |
getIdentifier() |
List<ComponentConfiguration> |
getNestedComponents() |
Map<String,String> |
getParameters() |
Optional<Object> |
getProperty(String name) |
Optional<String> |
getValue() |
protected org.mule.runtime.api.component.ComponentIdentifier identifier
protected org.mule.runtime.api.component.location.ComponentLocation componentLocation
protected List<ComponentConfiguration> nestedComponents
protected String value
public org.mule.runtime.api.component.ComponentIdentifier getIdentifier()
public org.mule.runtime.api.component.location.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 MuleSoft, Inc.. All rights reserved.