public class DefaultComponentAstBuilder extends BaseComponentAstBuilder<DefaultComponentAstBuilder>
ANY_IDENTIFIER, BODY_RAW_PARAM_NAME, componentId, SOURCE_TYPE, TARGET_TYPE| Constructor and Description |
|---|
DefaultComponentAstBuilder(PropertiesResolver propertiesResolver,
ExtensionModelHelper extModelHelper,
List<DefaultComponentAstBuilder> hierarchy,
int indexInParent) |
| 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.
|
boolean |
disableTrimWhitespaces() |
ComponentAst |
get() |
int |
getIndexInParent() |
protected Supplier<Optional<String>> |
obtainLocation(Map<org.mule.runtime.api.util.Pair<org.mule.runtime.api.meta.model.parameter.ParameterModel,org.mule.runtime.api.meta.model.parameter.ParameterGroupModel>,ComponentParameterAst> parameterAsts) |
protected void |
prepareForBuild() |
protected void |
resolveParamsLocations() |
ComponentAstBuilder |
withIdentifier(org.mule.runtime.api.component.ComponentIdentifier identifier) |
addChildComponent, childComponentsStream, createParameterAsts, doRemoveParamChild, getAnnotations, getComponentId, getComponentType, getExtensionModel, getGenerationInformation, getIdentifier, getLocation, getMetadata, getParamsChildren, getPropertiesResolver, getRawParameters, getType, removeParamChild, resolveComponentId, setComponentId, validateSingleModelSet, withAnnotation, withBodyParameter, withComponentModel, withComponentType, withConfigurationModel, withConnectionProviderModel, withExtensionModel, withLocation, withMetadata, withNestableElementModel, withParameter, withParameterizedModel, withRawParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic DefaultComponentAstBuilder(PropertiesResolver propertiesResolver, ExtensionModelHelper extModelHelper, List<DefaultComponentAstBuilder> hierarchy, int indexInParent)
public ComponentAstBuilder addChildComponent()
ComponentAstBuilderpublic ComponentAstBuilder withIdentifier(org.mule.runtime.api.component.ComponentIdentifier identifier)
withIdentifier in interface ComponentAstBuilderwithIdentifier in class BaseComponentAstBuilder<DefaultComponentAstBuilder>identifier - the identifier for the configuration element this object represents.public ComponentAst get()
public ComponentAst build()
ComponentAstBuilderprotected void prepareForBuild()
prepareForBuild in class BaseComponentAstBuilder<DefaultComponentAstBuilder>protected void resolveParamsLocations()
protected Supplier<Optional<String>> obtainLocation(Map<org.mule.runtime.api.util.Pair<org.mule.runtime.api.meta.model.parameter.ParameterModel,org.mule.runtime.api.meta.model.parameter.ParameterGroupModel>,ComponentParameterAst> parameterAsts)
public int getIndexInParent()
public boolean disableTrimWhitespaces()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.