Class SimpleConfigAttribute

java.lang.Object
org.mule.runtime.dsl.api.xml.parser.SimpleConfigAttribute

@NoExtend @NoInstantiate public final class SimpleConfigAttribute extends Object
Represents a simple configuration attribute.
Since:
4.0
  • Constructor Details

    • SimpleConfigAttribute

      public SimpleConfigAttribute(String name, String value, boolean valueFromSchema)
      Parameters:
      name - configuration attribute name as it appears in the configuration file.
      value - configuration value as defined in the configuration file.
      valueFromSchema - true if the configuration value was not explicitly defined by the user and was retrieved from the DSL schema, false otherwise.
  • Method Details

    • getName

      public String getName()
      Returns:
      the configuration attribute name as it appears in the configuration file.
    • getValue

      public String getValue()
      Returns:
      configuration value as defined in the configuration file.
    • isValueFromSchema

      public boolean isValueFromSchema()
      Returns:
      true if the value came from the DSL schema, false if the value comes from explicit user configuration.