public interface ConfigurationMetadataCacheIdGenerator
MetadataCacheId for Configs. It's used since the
ComponentParameterization has no information of the configs, including its
child elements.| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurations(List<org.mule.runtime.ast.api.ComponentAst> configAsts)
Adds the configs to be considered when getting the Cache Ids.
|
Optional<MetadataCacheId> |
getConfigMetadataCacheId(String configName,
boolean justProviders) |
Optional<MetadataCacheId> getConfigMetadataCacheId(String configName, boolean justProviders)
configName - the configuration name to get the MetadataCacheId forjustProviders - if true, it will return the id corresponding to the calculation of this config internal/child elements.
If false, it will return the id of the whole config.MetadataCacheId corresponding to the configuration}. In case the config was not provided previously
using AddConfiguration. This could happen, for example, when just performing a Type
Resolution, without Propagation.void addConfigurations(List<org.mule.runtime.ast.api.ComponentAst> configAsts)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.