public interface MetadataProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetadataProvider.MetadataRequest
Request entity for retrieving
ComponentMetadataDescriptor for a
ToolingArtifact. |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeMetadataCache(String hashKey)
Dispose cache entries Metadata cache on Mule Runtime side for the given hashKey, if the entry doesn't match exactly to
a entry in the key, it will dispose those entries that start with the hashKey given.
|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeys(org.mule.tooling.client.api.metadata.MetadataKeysRequest metadataKeysRequest)
Returns a
MetadataResult of MetadataKeysContainer described by MetadataKeyProvider.getMetadataKeys() of the associated MetadataKeyProvider component identified by the
given MetadataKeysRequest. |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.operation.OperationModel>> |
getOperationMetadata(MetadataProvider.MetadataRequest metadataRequest)
Resolves the Metadata description for the operation message processor component identified by the request.
|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.source.SourceModel>> |
getSourceMetadata(MetadataProvider.MetadataRequest metadataRequest)
Resolves the Metadata description for the operation message processor component identified by the request.
|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.tooling.client.api.metadata.MetadataKeysRequest metadataKeysRequest)
MetadataResult of MetadataKeysContainer described by MetadataKeyProvider.getMetadataKeys() of the associated MetadataKeyProvider component identified by the
given MetadataKeysRequest.metadataKeysRequest - request to get the MetadataKeysContainer.MetadataResult if the keys are successfully resolved Failure MetadataResult if there is an error while resolving the keys.org.mule.tooling.client.api.exception.ServiceUnavailableException - if a connection exception happens when trying to connect to Mule Agent REST API.org.mule.tooling.client.api.exception.ToolingException - if an unexpected error happens.org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.source.SourceModel>> getSourceMetadata(MetadataProvider.MetadataRequest metadataRequest)
metadataRequest - request to get the ComponentMetadataDescriptor.ComponentMetadataDescriptor containing a SourceModel with its types resolved and
MetadataAttributes that provides information about the metadata resolution process.org.mule.tooling.client.api.exception.ServiceUnavailableException - if a connection exception happens when trying to connect to Mule Agent REST API.org.mule.tooling.client.api.exception.ToolingException - if an unexpected error happens.org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.operation.OperationModel>> getOperationMetadata(MetadataProvider.MetadataRequest metadataRequest)
metadataRequest - request to get the ComponentMetadataDescriptor.ComponentMetadataDescriptor containing a OperationModel with its types resolved and
MetadataAttributes that provides information about the metadata resolution process.org.mule.tooling.client.api.exception.ServiceUnavailableException - if a connection exception happens when trying to connect to Mule Agent REST API.org.mule.tooling.client.api.exception.ToolingException - if an unexpected error happens.void disposeMetadataCache(String hashKey)
hashKey - the key to be disposed.Copyright © 2019 MuleSoft, Inc.. All rights reserved.