public class InternalApplicationMetadataProvider extends Object implements MetadataProvider
MetadataProvider, that is used with DataSense and uses Mule-API objects directly.MetadataProvider.MetadataRequest| Constructor and Description |
|---|
InternalApplicationMetadataProvider(RemoteApplicationInvoker remoteApplicationInvoker)
Creates an instance of the provider.
|
| 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.
|
public InternalApplicationMetadataProvider(RemoteApplicationInvoker remoteApplicationInvoker)
remoteApplicationInvoker - RemoteApplicationInvoker to deploy and resolve operations against a Mule application. Non null.public org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.tooling.client.api.metadata.MetadataKeysRequest metadataKeysRequest)
throws org.mule.tooling.client.api.exception.ServiceUnavailableException,
org.mule.tooling.client.api.exception.ToolingException
MetadataResult of MetadataKeysContainer described by MetadataKeyProvider.getMetadataKeys() of the associated MetadataKeyProvider component identified by the
given MetadataKeysRequest.getMetadataKeys in interface MetadataProvidermetadataKeysRequest - 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.public 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)
getOperationMetadata in interface MetadataProvidermetadataRequest - request to get the ComponentMetadataDescriptor.ComponentMetadataDescriptor containing a OperationModel with its types resolved and
MetadataAttributes that provides information about the metadata resolution process.public 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)
getSourceMetadata in interface MetadataProvidermetadataRequest - request to get the ComponentMetadataDescriptor.ComponentMetadataDescriptor containing a SourceModel with its types resolved and
MetadataAttributes that provides information about the metadata resolution process.public void disposeMetadataCache(String hashKey)
MetadataProviderdisposeMetadataCache in interface MetadataProviderhashKey - the key to be disposed.Copyright © 2019 MuleSoft, Inc.. All rights reserved.