public class MacroExpansionModulesModel extends Object
MacroExpansionModulesModel goes over all the parametrized ExtensionModel by filtering them if they have the
XmlExtensionModelProperty (implies that has to be macro expanded).
For every occurrence that happens, it will expand the operations/configurations by working with the
MacroExpansionModuleModel passing through just one ExtensionModel to macro expand in the current Mule
Application (held by the ArtifactAst.| Constructor and Description |
|---|
MacroExpansionModulesModel(org.mule.runtime.ast.api.ArtifactAst applicationModel,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensions)
From a mutable
applicationModel, it will store it to apply changes when the expand() method is executed. |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.ast.api.ArtifactAst |
expand()
Goes through the entire xml mule application looking for the message processors that can be expanded, and then takes care of
the global elements if there are at least one
ExtensionModel to macro expand. |
public MacroExpansionModulesModel(org.mule.runtime.ast.api.ArtifactAst applicationModel,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensions)
applicationModel, it will store it to apply changes when the expand() method is executed.applicationModel - to modify given the usages of elements that belong to the ExtensionModels contained in the
extensions map.extensions - set with all the loaded ExtensionModels from the deployment that will be filtered by looking
up only those that are coming from an XML context through the XmlExtensionModelProperty
property.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.