| Package | Description |
|---|---|
| org.mule.runtime.dsl.api.component |
| Modifier and Type | Method and Description |
|---|---|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.alwaysEnabled(boolean value)
This method configures the component as enabled even if excluded from a partial application model (for instance
when building one for data sense).
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.asNamed()
Used to declare that the object to be created has a name attribute
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.asPrototype() |
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.asScope()
Used to declare that the object to be created is an scope.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withConstructorParameterDefinition(AttributeDefinition attributeDefinition)
Adds a new constructor parameter to be used during the object instantiation.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withIdentifier(String identifier)
Sets the identifier of the configuration element that this building definition is for.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withIgnoredConfigurationParameter(String parameterName)
Mark configuration parameters to be ignored when building the component.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withKeyTypeConverter(TypeConverter typeConverter)
This method allows to convert a map entry key to another type using a converter.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withNamespace(String namespace)
Sets the namespace of the configuration element that this building definition is for.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withObjectFactoryType(Class<? extends ObjectFactory<T>> objectFactoryType)
Defines a factory class to be used for creating the object.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withRegistrationName(String name)
Set the component name that will appear in the registry.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withSetterParameterDefinition(String fieldName,
AttributeDefinition attributeDefinition)
Adds a new parameter to be added to the object by using a setter method.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withTypeConverter(TypeConverter typeConverter)
This method allows to convert a simple type to another type using a converter.
|
ComponentBuildingDefinition.Builder<T> |
ComponentBuildingDefinition.Builder.withTypeDefinition(TypeDefinition<T> typeDefinition)
Sets the
TypeDefinition to discover the object type. |
Copyright © 2022 MuleSoft, Inc.. All rights reserved.