public class DefaultToolingArtifact extends Object implements org.mule.tooling.client.api.artifact.ToolingArtifact, Command
ToolingArtifact.| Constructor and Description |
|---|
DefaultToolingArtifact(String id,
org.mule.runtime.api.util.LazyValue<org.mule.tooling.client.api.datasense.MetadataCache> metadataCache,
Application application,
org.mule.tooling.client.api.artifact.ToolingArtifact parentToolingArtifact,
org.mule.runtime.api.util.LazyValue<org.mule.tooling.client.api.datasense.MetadataCache> parentMetadataCache,
org.mule.tooling.client.internal.serialization.Serializer serializer,
ServiceRegistry serviceRegistry)
Creates an instance of the
DefaultToolingArtifact from a fetched applicationId or deploys the application to obtain
an identifier in case if null. |
DefaultToolingArtifact(String id,
org.mule.runtime.api.util.LazyValue<org.mule.tooling.client.api.datasense.MetadataCache> metadataCache,
Domain domain,
org.mule.tooling.client.internal.serialization.Serializer serializer,
ServiceRegistry serviceRegistry) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.connectivity.ConnectivityTestingService |
connectivityTestingService() |
org.mule.tooling.client.api.datasense.DataSenseService |
dataSenseService() |
org.mule.tooling.client.api.dataweave.DataWeaveService |
dataWeaveService() |
void |
dispose() |
String |
getId() |
Optional<org.mule.tooling.client.api.artifact.ToolingArtifact> |
getParent() |
Map<String,String> |
getProperties() |
org.mule.tooling.client.api.feature.Feature<org.mule.tooling.client.api.artifact.resources.ResourceLoader> |
getResourceLoader() |
Object |
invokeMethod(String methodName,
String[] classes,
String[] arguments)
Dispatcher that calls the method on this object by the given name and arguments.
|
org.mule.tooling.client.api.metadata.MetadataService |
metadataService() |
org.mule.tooling.client.api.value.provider.ValueProviderService |
valueProviderService() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFeatureEnabled, methodNotFound, notMatchingMethodpublic DefaultToolingArtifact(String id, org.mule.runtime.api.util.LazyValue<org.mule.tooling.client.api.datasense.MetadataCache> metadataCache, Application application, org.mule.tooling.client.api.artifact.ToolingArtifact parentToolingArtifact, org.mule.runtime.api.util.LazyValue<org.mule.tooling.client.api.datasense.MetadataCache> parentMetadataCache, org.mule.tooling.client.internal.serialization.Serializer serializer, ServiceRegistry serviceRegistry)
DefaultToolingArtifact from a fetched applicationId or deploys the application to obtain
an identifier in case if null.id - String identifier for this ToolingArtifact. Non null.metadataCache - MetadataCache to be used by this ToolingArtifact. Non null.application - Application to handle state, local and remote (Mule Runtime) in order to resolve operations. Non null.parentMetadataCache - MetadataCache to be used by the parent ToolingArtifact. Can be null.serializer - Serializer to serialize parameters and results when called from Tooling API. Non null.public DefaultToolingArtifact(String id, org.mule.runtime.api.util.LazyValue<org.mule.tooling.client.api.datasense.MetadataCache> metadataCache, Domain domain, org.mule.tooling.client.internal.serialization.Serializer serializer, ServiceRegistry serviceRegistry)
public String getId()
getId in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic Optional<org.mule.tooling.client.api.artifact.ToolingArtifact> getParent()
getParent in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic Map<String,String> getProperties()
getProperties in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic org.mule.tooling.client.api.connectivity.ConnectivityTestingService connectivityTestingService()
connectivityTestingService in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic org.mule.tooling.client.api.metadata.MetadataService metadataService()
metadataService in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic org.mule.tooling.client.api.datasense.DataSenseService dataSenseService()
dataSenseService in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic org.mule.tooling.client.api.dataweave.DataWeaveService dataWeaveService()
dataWeaveService in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic org.mule.tooling.client.api.value.provider.ValueProviderService valueProviderService()
valueProviderService in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic void dispose()
dispose in interface org.mule.tooling.client.api.Disposablepublic org.mule.tooling.client.api.feature.Feature<org.mule.tooling.client.api.artifact.resources.ResourceLoader> getResourceLoader()
getResourceLoader in interface org.mule.tooling.client.api.artifact.ToolingArtifactpublic Object invokeMethod(String methodName, String[] classes, String[] arguments)
CommandinvokeMethod in interface CommandmethodName - the name of the method to be invoked.classes - array of class names for arguments.arguments - array of arguments serialized as JSON.Object, in case of a service method invocation it will return the DTO serialized to JSON or the instance
in case of a service instance.Copyright © 2019 MuleSoft, Inc.. All rights reserved.