public class DeclarationToolingMetadataCacheIdGenerator extends Object implements ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeclarationToolingMetadataCacheIdGenerator.DeclarationBasedValueProviderCacheIdGeneratorAdapter |
| Constructor and Description |
|---|
DeclarationToolingMetadataCacheIdGenerator(org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration> metadataDelegate,
DeclarationToolingMetadataCacheIdGenerator.DeclarationBasedValueProviderCacheIdGeneratorAdapter valueProviderDelegate) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getIdForComponentAttributesMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component) |
Optional<String> |
getIdForComponentInputMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component,
String parameterName) |
Optional<String> |
getIdForComponentMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component) |
Optional<String> |
getIdForComponentOutputMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component) |
Optional<String> |
getIdForGlobalMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component) |
Optional<String> |
getIdForMetadataKeys(org.mule.runtime.app.declaration.api.ElementDeclaration component) |
Optional<String> |
getIdForResolvedValues(org.mule.runtime.app.declaration.api.ElementDeclaration component,
String parameterName) |
Optional<String> |
getIdForResolvedValues(org.mule.runtime.app.declaration.api.ElementDeclaration component,
String parameterName,
String targetSelector) |
Optional<String> |
getIdForResolvedValuesDependency(org.mule.runtime.app.declaration.api.ElementDeclaration component)
Get the
Optional with the id computed for the component that is a dependency (part) that affects values
resolution. |
public DeclarationToolingMetadataCacheIdGenerator(org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration> metadataDelegate,
DeclarationToolingMetadataCacheIdGenerator.DeclarationBasedValueProviderCacheIdGeneratorAdapter valueProviderDelegate)
public Optional<String> getIdForComponentOutputMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component)
getIdForComponentOutputMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForComponentAttributesMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component)
getIdForComponentAttributesMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForComponentInputMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component, String parameterName)
getIdForComponentInputMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForComponentMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component)
getIdForComponentMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForMetadataKeys(org.mule.runtime.app.declaration.api.ElementDeclaration component)
getIdForMetadataKeys in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForGlobalMetadata(org.mule.runtime.app.declaration.api.ElementDeclaration component)
getIdForGlobalMetadata in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForResolvedValues(org.mule.runtime.app.declaration.api.ElementDeclaration component, String parameterName)
getIdForResolvedValues in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForResolvedValues(org.mule.runtime.app.declaration.api.ElementDeclaration component, String parameterName, String targetSelector)
getIdForResolvedValues in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>public Optional<String> getIdForResolvedValuesDependency(org.mule.runtime.app.declaration.api.ElementDeclaration component)
ToolingCacheIdGeneratorOptional with the id computed for the component that is a dependency (part) that affects values
resolution.
e.g: Get the id of a config that is referenced by an operation for which a parameter has a ValueProvidergetIdForResolvedValuesDependency in interface ToolingCacheIdGenerator<org.mule.runtime.app.declaration.api.ElementDeclaration>component - the component that is referenced by the owner of the parameter.Optional with the computed IdCopyright © 2022 MuleSoft, Inc.. All rights reserved.