public class DefaultToolingArtifact extends Object implements org.mule.tooling.client.api.artifact.ToolingArtifact, Command
ToolingArtifact.| Constructor and Description |
|---|
DefaultToolingArtifact(String id,
org.mule.tooling.client.api.datasense.MetadataCache metadataCache,
Application application)
Creates an instance of the
DefaultToolingArtifact from a fetched applicationId or deploys the application to obtain
an identifier in case if null. |
| 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() |
Map<String,String> |
getProperties() |
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, waitmethodNotFound, notMatchingMethodpublic DefaultToolingArtifact(String id, org.mule.tooling.client.api.datasense.MetadataCache metadataCache, Application application)
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.public String getId()
getId 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 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 © 2017 MuleSoft, Inc.. All rights reserved.