public class InternalMetadataProvider extends Object implements MetadataProvider
MetadataProvider, that is used with DataSense and uses Mule-API objects directly.| Constructor and Description |
|---|
InternalMetadataProvider(Supplier<Deployable> deployableApplicationSupplier)
Creates an instance of the provider.
|
| Modifier and Type | Method and Description |
|---|---|
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(org.mule.tooling.client.api.metadata.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(org.mule.tooling.client.api.metadata.MetadataRequest metadataRequest)
Resolves the Metadata description for the operation message processor component identified by the request.
|
public InternalMetadataProvider(Supplier<Deployable> deployableApplicationSupplier)
deployableApplicationSupplier - Supplier for a Deployable. Non null. Should return always the same instance.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 MetadataKeysContainerMetadataResult 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(org.mule.tooling.client.api.metadata.MetadataRequest metadataRequest)
getOperationMetadata in interface MetadataProvidermetadataRequest - request to get the ComponentMetadataDescriptorComponentMetadataDescriptor 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(org.mule.tooling.client.api.metadata.MetadataRequest metadataRequest)
getSourceMetadata in interface MetadataProvidermetadataRequest - request to get the ComponentMetadataDescriptorComponentMetadataDescriptor containing a SourceModel with its types resolved and
MetadataAttributes that provides information about the metadata resolution process.Copyright © 2017 MuleSoft, Inc.. All rights reserved.