Module org.mule.runtime.dsl.api
Class SimpleConfigAttribute
java.lang.Object
org.mule.runtime.dsl.api.xml.parser.SimpleConfigAttribute
Represents a simple configuration attribute.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleConfigAttribute
- 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
- Returns:
- the configuration attribute name as it appears in the configuration file.
-
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.
-