public class DefaultToolingCacheIdGenerator extends Object implements ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>
MetadataCache and ValueProviderCache| Constructor and Description |
|---|
DefaultToolingCacheIdGenerator(org.mule.runtime.api.dsl.DslResolvingContext context,
org.mule.runtime.core.internal.locator.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) |
Optional<String> |
getIdForResolvedValues(org.mule.runtime.ast.api.ComponentAst component,
String parameterName) |
Optional<String> |
getIdForResolvedValues(org.mule.runtime.ast.api.ComponentAst component,
String parameterName,
String targetSelector) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdForResolvedValuesDependencypublic DefaultToolingCacheIdGenerator(org.mule.runtime.api.dsl.DslResolvingContext context,
org.mule.runtime.core.internal.locator.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)
getIdForComponentOutputMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForComponentAttributesMetadata(org.mule.runtime.ast.api.ComponentAst component)
getIdForComponentAttributesMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForComponentInputMetadata(org.mule.runtime.ast.api.ComponentAst component, String parameterName)
getIdForComponentInputMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForComponentMetadata(org.mule.runtime.ast.api.ComponentAst component)
getIdForComponentMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForMetadataKeys(org.mule.runtime.ast.api.ComponentAst component)
getIdForMetadataKeys in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForGlobalMetadata(org.mule.runtime.ast.api.ComponentAst component)
getIdForGlobalMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForResolvedValues(org.mule.runtime.ast.api.ComponentAst component, String parameterName)
getIdForResolvedValues in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>public Optional<String> getIdForResolvedValues(org.mule.runtime.ast.api.ComponentAst component, String parameterName, String targetSelector)
getIdForResolvedValues in interface ToolingCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst>Copyright © 2022 MuleSoft, Inc.. All rights reserved.