public class ComponentBasedIdHelper extends Object
| Constructor and Description |
|---|
ComponentBasedIdHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
computeHashFor(org.mule.runtime.ast.api.ComponentParameterAst componentParameterAst)
Deprecated.
This should not have been public.
|
static <K> K |
computeIdFor(org.mule.runtime.ast.api.ComponentAst containerComponent,
org.mule.runtime.ast.api.ComponentParameterAst componentParameterAst,
Supplier<CacheIdBuilderAdapter<K>> cacheIdBuilderSupplier) |
static Optional<String> |
getModelNameAst(org.mule.runtime.ast.api.ComponentAst component) |
static List<String> |
parameterNamesRequiredForMetadataCacheId(org.mule.runtime.ast.api.ComponentAst component) |
static MetadataCacheId |
resolveComponentIdentifierMetadataCacheId(org.mule.runtime.ast.api.ComponentAst elementModel) |
static Optional<String> |
resolveConfigName(org.mule.runtime.ast.api.ComponentAst elementModel) |
static MetadataCacheId |
resolveKeyFromSimpleValue(org.mule.runtime.ast.api.ComponentAst elementModel,
org.mule.runtime.ast.api.ComponentParameterAst param,
Function<String,Optional<MetadataCacheId>> calculateForElement) |
static Optional<MetadataCacheId> |
resolveMetadataKeyParts(org.mule.runtime.ast.api.ComponentAst elementModel,
org.mule.runtime.api.meta.model.ComponentModel componentModel,
boolean resolveAllKeys,
Function<String,Optional<MetadataCacheId>> calculateForElement) |
static String |
sourceElementName(org.mule.runtime.ast.api.ComponentAst element) |
static String |
sourceElementNameFromSimpleValue(org.mule.runtime.ast.api.ComponentAst element) |
public static Optional<String> getModelNameAst(org.mule.runtime.ast.api.ComponentAst component)
public static String sourceElementName(org.mule.runtime.ast.api.ComponentAst element)
public static String sourceElementNameFromSimpleValue(org.mule.runtime.ast.api.ComponentAst element)
public static Optional<String> resolveConfigName(org.mule.runtime.ast.api.ComponentAst elementModel)
public static List<String> parameterNamesRequiredForMetadataCacheId(org.mule.runtime.ast.api.ComponentAst component)
public static MetadataCacheId resolveComponentIdentifierMetadataCacheId(org.mule.runtime.ast.api.ComponentAst elementModel)
@Deprecated public static int computeHashFor(org.mule.runtime.ast.api.ComponentParameterAst componentParameterAst)
public static <K> K computeIdFor(org.mule.runtime.ast.api.ComponentAst containerComponent,
org.mule.runtime.ast.api.ComponentParameterAst componentParameterAst,
Supplier<CacheIdBuilderAdapter<K>> cacheIdBuilderSupplier)
public static Optional<MetadataCacheId> resolveMetadataKeyParts(org.mule.runtime.ast.api.ComponentAst elementModel, org.mule.runtime.api.meta.model.ComponentModel componentModel, boolean resolveAllKeys, Function<String,Optional<MetadataCacheId>> calculateForElement)
public static MetadataCacheId resolveKeyFromSimpleValue(org.mule.runtime.ast.api.ComponentAst elementModel, org.mule.runtime.ast.api.ComponentParameterAst param, Function<String,Optional<MetadataCacheId>> calculateForElement)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.