Module org.mule.runtime.dsl.api
Class KeyAttributeDefinitionPair
java.lang.Object
org.mule.runtime.dsl.api.component.KeyAttributeDefinitionPair
Holder for a pair of a map key and its value attribute definition.
When
AttributeDefinition.Builder.fromMultipleDefinitions(KeyAttributeDefinitionPair...) is used, this class allows to
define the AttributeDefinition and the key to be used for the generated map holding the attribute value.
The #Builder must be used to create instances for KeyAttributeDefinitionPair.- Since:
- 4.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KeyAttributeDefinitionPair
public KeyAttributeDefinitionPair()
-
-
Method Details
-
getKey
- Returns:
- the map key for holding the value provided by the value generated after processing
#getAttributeDefinition()
-
getAttributeDefinition
- Returns:
- the definition for getting a value from a configuration model.
-
newBuilder
- Returns:
- builder for
KeyAttributeDefinitionPair
-