public class DefaultToolingArtifact extends Object implements org.mule.tooling.client.api.artifact.ToolingArtifact, Command
ToolingArtifact.| Constructor and Description |
|---|
DefaultToolingArtifact(String id,
Application application,
org.mule.tooling.client.api.artifact.ToolingArtifact parentToolingArtifact,
org.mule.tooling.client.internal.serialization.Serializer serializer,
ServiceRegistry serviceRegistry,
org.mule.runtime.api.util.LazyValue<MetadataCache> metadataCache,
org.mule.runtime.api.util.LazyValue<MetadataCache> parentMetadataCache,
org.mule.runtime.api.util.LazyValue<org.mule.runtime.api.dsl.DslResolvingContext> dslResolvingContext,
org.mule.runtime.api.util.LazyValue<org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGeneratorFactory.ComponentLocator<org.mule.runtime.ast.api.ComponentAst>> componentLocator,
org.mule.runtime.api.util.LazyValue<ValueProviderCache> valueProvidersCache)
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,
Domain domain,
org.mule.tooling.client.internal.serialization.Serializer serializer,
ServiceRegistry serviceRegistry,
org.mule.runtime.api.util.LazyValue<MetadataCache> metadataCache,
org.mule.runtime.api.util.LazyValue<org.mule.runtime.api.dsl.DslResolvingContext> dslResolvingContext,
org.mule.runtime.api.util.LazyValue<org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGeneratorFactory.ComponentLocator<org.mule.runtime.ast.api.ComponentAst>> componentLocator,
org.mule.runtime.api.util.LazyValue<ValueProviderCache> valueProvidersCache) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.component.location.ComponentLocationService |
componentLocationService() |
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, Application application, org.mule.tooling.client.api.artifact.ToolingArtifact parentToolingArtifact, org.mule.tooling.client.internal.serialization.Serializer serializer, ServiceRegistry serviceRegistry, org.mule.runtime.api.util.LazyValue<MetadataCache> metadataCache, org.mule.runtime.api.util.LazyValue<MetadataCache> parentMetadataCache, org.mule.runtime.api.util.LazyValue<org.mule.runtime.api.dsl.DslResolvingContext> dslResolvingContext, org.mule.runtime.api.util.LazyValue<org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGeneratorFactory.ComponentLocator<org.mule.runtime.ast.api.ComponentAst>> componentLocator, org.mule.runtime.api.util.LazyValue<ValueProviderCache> valueProvidersCache)
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.application - Application to handle state, local and remote (Mule Runtime) in order to resolve operations. Non
null.serializer - Serializer to serialize parameters and results when called from Tooling API. Non null.metadataCache - MetadataCache to be used by this ToolingArtifact. Non null.parentMetadataCache - MetadataCache to be used by the parent ToolingArtifact. Can be null.valueProvidersCache - ValueProviderCache to be used when resolving values with ValueProviderspublic DefaultToolingArtifact(String id, Domain domain, org.mule.tooling.client.internal.serialization.Serializer serializer, ServiceRegistry serviceRegistry, org.mule.runtime.api.util.LazyValue<MetadataCache> metadataCache, org.mule.runtime.api.util.LazyValue<org.mule.runtime.api.dsl.DslResolvingContext> dslResolvingContext, org.mule.runtime.api.util.LazyValue<org.mule.runtime.core.internal.metadata.cache.MetadataCacheIdGeneratorFactory.ComponentLocator<org.mule.runtime.ast.api.ComponentAst>> componentLocator, org.mule.runtime.api.util.LazyValue<ValueProviderCache> valueProvidersCache)
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 org.mule.tooling.client.api.component.location.ComponentLocationService componentLocationService()
componentLocationService 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 © 2022 MuleSoft, Inc.. All rights reserved.