Package | Description |
---|---|
org.mule.runtime.dsl.api.component |
Modifier and Type | Method and Description |
---|---|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromChildCollectionConfiguration(Class<?> type)
Used when an attribute must be set with a collection of objects created from the user configuration.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromChildConfiguration(Class<?> childType)
Used when an attribute must be set with a complex object created from the user configuration.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromChildMapConfiguration(Class<?> keyType,
Class<?> valueType)
Used when an attribute must be set with a map of objects created from the user configuration.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromFixedReference(String reference)
Use when the reference is fixed (and not configurable), not the value.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromFixedValue(Object value) |
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromMultipleDefinitions(KeyAttributeDefinitionPair... definitions)
Used when several attributes or child components needs to be mapped to a single attribute.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromReferenceObject(Class<?> referenceObjectType)
Used when attribute an attribute must be set with an object provided by the runtime.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromSimpleParameter(String configParameterName) |
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromSimpleParameter(String configParameterName,
TypeConverter typeConverter) |
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromSimpleReferenceParameter(String referenceSimpleParameter) |
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromTextContent()
Used when an attribute must be created with the inner content of the configuration element.
|
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromUndefinedComplexAttribute()
Calling this method declares that the attribute will be assigned with all declared complex configuration object that did
not were map by other
AttributeDefinition s. |
static AttributeDefinition.Builder |
AttributeDefinition.Builder.fromUndefinedSimpleAttributes()
Calling this method declares that the attribute will be assigned with all declared simple configuration attribute and its
value.
|
AttributeDefinition.Builder |
AttributeDefinition.Builder.withDefaultValue(Object defaultValue) |
AttributeDefinition.Builder |
AttributeDefinition.Builder.withIdentifier(String childIdentifier) |
AttributeDefinition.Builder |
AttributeDefinition.Builder.withWrapperIdentifier(String identifier)
Defines the parent identifier used to wrap a child element.
|
Copyright © 2018. All rights reserved.