Class ApplicationModelTypeUtils
java.lang.Object
org.mule.runtime.ast.internal.builder.ApplicationModelTypeUtils
Provides utilities to obtain the models/types for the elements of a mule config.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidresolveTypedComponentIdentifier(DefaultComponentAstBuilder componentAstBuilder, Optional<ComponentAstBuilder> parent, ExtensionModelHelper extensionModelHelper) Walks the extension model searching the component model for the passedcomponentAstBuilder.
-
Method Details
-
resolveTypedComponentIdentifier
public static void resolveTypedComponentIdentifier(DefaultComponentAstBuilder componentAstBuilder, Optional<ComponentAstBuilder> parent, ExtensionModelHelper extensionModelHelper) Walks the extension model searching the component model for the passedcomponentAstBuilder. In case of nestable models, it uses theparentto avoid possible ambiguities.- Parameters:
componentAstBuilder- theDefaultComponentAstBuilderwhich model we want to search.parent- an optionalDefaultComponentAstBuilderto disambiguate nested models.extensionModelHelper- theExtensionModelHelperto delegate the walking.
-