Class ComponentConfiguration

java.lang.Object
org.mule.runtime.dsl.api.component.config.ComponentConfiguration

@Deprecated public abstract class ComponentConfiguration extends Object
Deprecated.
Use org.mule.runtime.ast.api.ComponentAst from mule-artifact-ast instead. This will be removed in 4.4.0.
Defines a mule component configuration content.

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.

Since:
4.0
  • Field Details

    • identifier

      protected org.mule.runtime.api.component.ComponentIdentifier identifier
      Deprecated.
    • componentLocation

      protected org.mule.runtime.api.component.location.ComponentLocation componentLocation
      Deprecated.
    • properties

      protected Map<String,Object> properties
      Deprecated.
    • parameters

      protected Map<String,String> parameters
      Deprecated.
    • nestedComponents

      protected List<ComponentConfiguration> nestedComponents
      Deprecated.
    • value

      protected String value
      Deprecated.
  • Constructor Details

    • ComponentConfiguration

      protected ComponentConfiguration()
      Deprecated.
  • Method Details

    • getIdentifier

      public org.mule.runtime.api.component.ComponentIdentifier getIdentifier()
      Deprecated.
      Returns:
      the configuration identifier.
    • getComponentLocation

      public org.mule.runtime.api.component.location.ComponentLocation getComponentLocation()
      Deprecated.
      Returns:
      the location of the component in the configuration
    • getParameters

      public Map<String,String> getParameters()
      Deprecated.
      Returns:
      a map with the configuration parameters of the component where the key is the parameter name and the value is the parameter value.
    • getValue

      public Optional<String> getValue()
      Deprecated.
      Returns:
      content of the configuration element.
    • getProperty

      public Optional<Object> getProperty(String name)
      Deprecated.
      Parameters:
      name - the name of the property
      Returns:
      the property for the given name, or Optional.empty() if none was found.
    • getNestedComponents

      public List<ComponentConfiguration> getNestedComponents()
      Deprecated.
      Returns:
      a collection of the complex child configuration components.
    • builder

      public static ComponentConfiguration.Builder builder()
      Deprecated.
      Returns:
      a new ComponentConfiguration.Builder
      Since:
      1.8