public class ToolingMetadataCacheIdGenerator extends Object
MetadataCache| Constructor and Description |
|---|
ToolingMetadataCacheIdGenerator(org.mule.runtime.api.dsl.DslResolvingContext context,
org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGeneratorFactory.ComponentLocator<org.mule.runtime.ast.api.ComponentAst> locator) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areRelated(String parentValue,
String childValue)
Returns whether or not the
Strings represent keys that are related. |
Optional<String> |
getIdForComponentAttributesMetadata(org.mule.runtime.ast.api.ComponentAst component) |
Optional<String> |
getIdForComponentInputMetadata(org.mule.runtime.ast.api.ComponentAst component,
String parameterName) |
Optional<String> |
getIdForComponentMetadata(org.mule.runtime.ast.api.ComponentAst component) |
Optional<String> |
getIdForComponentOutputMetadata(org.mule.runtime.ast.api.ComponentAst component) |
Optional<String> |
getIdForGlobalMetadata(org.mule.runtime.ast.api.ComponentAst component) |
Optional<String> |
getIdForMetadataKeys(org.mule.runtime.ast.api.ComponentAst component) |
public ToolingMetadataCacheIdGenerator(org.mule.runtime.api.dsl.DslResolvingContext context,
org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGeneratorFactory.ComponentLocator<org.mule.runtime.ast.api.ComponentAst> locator)
public static boolean areRelated(String parentValue, String childValue)
Strings represent keys that are related.
That is true if the @param child has a reference to it's parent.
For example, if an operation (child) has a reference to a config (parent)parentValue - childValue - Boolean.TRUE if they are related, Boolean.FALSE otherwise.public Optional<String> getIdForComponentOutputMetadata(org.mule.runtime.ast.api.ComponentAst component)
public Optional<String> getIdForComponentAttributesMetadata(org.mule.runtime.ast.api.ComponentAst component)
public Optional<String> getIdForComponentInputMetadata(org.mule.runtime.ast.api.ComponentAst component, String parameterName)
public Optional<String> getIdForComponentMetadata(org.mule.runtime.ast.api.ComponentAst component)
public Optional<String> getIdForMetadataKeys(org.mule.runtime.ast.api.ComponentAst component)
Copyright © 2022 MuleSoft, Inc.. All rights reserved.