public class DefaultDataSenseService extends Object implements org.mule.tooling.client.api.datasense.DataSenseService
DataSenseService.| Constructor and Description |
|---|
DefaultDataSenseService(Supplier<URL> applicationUrlSupplier,
MetadataProvider metadataProvider,
Application application,
ComponentBuildingDefinitionLoader componentBuildingDefinitionLoader)
Creates an instance of the DataSense service.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.datasense.api.DataSenseComponentInfo> |
resolveComponentDataSense(org.mule.tooling.client.api.datasense.DataSenseRequest dataSenseRequest) |
Optional<org.mule.datasense.api.DataSenseInfo> |
resolveDataSense(org.mule.tooling.client.api.datasense.DataSenseRequest dataSenseRequest) |
public DefaultDataSenseService(Supplier<URL> applicationUrlSupplier, MetadataProvider metadataProvider, Application application, ComponentBuildingDefinitionLoader componentBuildingDefinitionLoader)
applicationUrlSupplier - URL Supplier with the location of the application content, either a file path
with expanded content or a zip. Not null.metadataProvider - MetadataProvider to resolve dynamic Metadata if needed. Not null.application - Application over the one datasense is going to be resolved.componentBuildingDefinitionLoader - loader for ComponentBuildingDefinitionspublic Optional<org.mule.datasense.api.DataSenseInfo> resolveDataSense(org.mule.tooling.client.api.datasense.DataSenseRequest dataSenseRequest)
resolveDataSense in interface org.mule.tooling.client.api.datasense.DataSenseServicepublic Optional<org.mule.datasense.api.DataSenseComponentInfo> resolveComponentDataSense(org.mule.tooling.client.api.datasense.DataSenseRequest dataSenseRequest)
resolveComponentDataSense in interface org.mule.tooling.client.api.datasense.DataSenseServiceCopyright © 2017 MuleSoft, Inc.. All rights reserved.