public class LightComponentAstBuilder extends BaseComponentAstBuilder<LightComponentAstBuilder>
ComponentAst that does not belong to an ArtifactAst.BODY_RAW_PARAM_NAME, componentId, SOURCE_TYPE, TARGET_TYPE| Constructor and Description |
|---|
LightComponentAstBuilder() |
LightComponentAstBuilder(PropertiesResolver propertiesResolver) |
| Modifier and Type | Method and Description |
|---|---|
ComponentAstBuilder |
addChildComponent()
Adds a child component to the component being built with this builder.
|
ComponentAst |
build()
Builds the target component and its children.
|
ComponentAst |
get() |
ComponentAstBuilder |
withComponentModel(org.mule.runtime.api.meta.model.ComponentModel componentModel)
Sets the model declaration of the target component.
|
ComponentAstBuilder |
withConfigurationModel(org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel)
Sets the model declaration of the target component.
|
ComponentAstBuilder |
withConnectionProviderModel(org.mule.runtime.api.meta.model.connection.ConnectionProviderModel connectionProviderModel)
Sets the model declaration of the target component.
|
ComponentAstBuilder |
withNestableElementModel(org.mule.runtime.api.meta.model.nested.NestableElementModel nestableElementModel)
Sets the model declaration of the target component.
|
addChildComponent, childComponentsStream, createParameterAsts, doRemoveParamChild, getAnnotations, getComponentId, getComponentType, getExtensionModel, getGenerationInformation, getIdentifier, getLocation, getMetadata, getParamsChildren, getPropertiesResolver, getRawParameters, getType, prepareForBuild, removeParamChild, resolveComponentId, setComponentId, validateSingleModelSet, withAnnotation, withBodyParameter, withComponentType, withExtensionModel, withIdentifier, withLocation, withMetadata, withParameter, withParameter, withParameterizedModel, withRawParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic LightComponentAstBuilder()
public LightComponentAstBuilder(PropertiesResolver propertiesResolver)
public ComponentAstBuilder addChildComponent()
ComponentAstBuilderpublic ComponentAstBuilder withComponentModel(org.mule.runtime.api.meta.model.ComponentModel componentModel)
BaseComponentAstBuilder
This method is exclusive with BaseComponentAstBuilder.withNestableElementModel(NestableElementModel),
BaseComponentAstBuilder.withConfigurationModel(ConfigurationModel), BaseComponentAstBuilder.withConnectionProviderModel(ConnectionProviderModel) and
BaseComponentAstBuilder.withParameterizedModel(ParameterizedModel); only one of these may be called for a single builder.
withComponentModel in class BaseComponentAstBuilder<LightComponentAstBuilder>componentModel - the model that represents this component.public ComponentAstBuilder withNestableElementModel(org.mule.runtime.api.meta.model.nested.NestableElementModel nestableElementModel)
BaseComponentAstBuilder
This method is exclusive with BaseComponentAstBuilder.withComponentModel(ComponentModel),
BaseComponentAstBuilder.withConfigurationModel(ConfigurationModel), BaseComponentAstBuilder.withConnectionProviderModel(ConnectionProviderModel) and
BaseComponentAstBuilder.withParameterizedModel(ParameterizedModel); only one of these may be called for a single builder.
withNestableElementModel in class BaseComponentAstBuilder<LightComponentAstBuilder>nestableElementModel - the model that represents this component.public ComponentAstBuilder withConfigurationModel(org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel)
BaseComponentAstBuilder
This method is exclusive with BaseComponentAstBuilder.withComponentModel(ComponentModel),
BaseComponentAstBuilder.withNestableElementModel(NestableElementModel), BaseComponentAstBuilder.withConnectionProviderModel(ConnectionProviderModel) and
BaseComponentAstBuilder.withParameterizedModel(ParameterizedModel); only one of these may be called for a single builder.
withConfigurationModel in class BaseComponentAstBuilder<LightComponentAstBuilder>configurationModel - the model that represents this component.public ComponentAstBuilder withConnectionProviderModel(org.mule.runtime.api.meta.model.connection.ConnectionProviderModel connectionProviderModel)
BaseComponentAstBuilder
This method is exclusive with BaseComponentAstBuilder.withComponentModel(ComponentModel),
BaseComponentAstBuilder.withNestableElementModel(NestableElementModel), BaseComponentAstBuilder.withConfigurationModel(ConfigurationModel) and
BaseComponentAstBuilder.withParameterizedModel(ParameterizedModel); only one of these may be called for a single builder.
withConnectionProviderModel in class BaseComponentAstBuilder<LightComponentAstBuilder>connectionProviderModel - the model that represents this component.public ComponentAst get()
public ComponentAst build()
ComponentAstBuilderCopyright © 2022 MuleSoft, Inc.. All rights reserved.