public abstract class AbstractValueProviderService extends Object implements org.mule.tooling.client.api.value.provider.ValueProviderService, Command
values for any Value Provider capable element in a Mule Domain or
Application.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractValueProviderService(Supplier<List<org.mule.runtime.api.meta.model.ExtensionModel>> extensionModelsSupplier,
org.mule.tooling.client.internal.serialization.Serializer serializer,
org.mule.runtime.api.util.LazyValue<ValueProviderCache> valueProviderCache,
org.mule.runtime.api.util.LazyValue<? extends org.mule.runtime.core.internal.locator.ComponentLocator<org.mule.runtime.ast.api.ComponentAst>> locator) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.feature.Feature<org.mule.tooling.client.api.feature.Action<org.mule.tooling.client.api.value.provider.ValueProviderDisposeRequest>> |
disposeCachedValues() |
protected abstract org.mule.runtime.api.value.ValueResult |
doGetValue(org.mule.tooling.client.api.value.provider.ValueProviderRequest valueProviderRequest) |
org.mule.tooling.client.api.value.ValueResult |
getValues(org.mule.tooling.client.api.value.provider.ValueProviderRequest valueProviderRequest) |
Object |
invokeMethod(String methodName,
String[] classes,
String[] arguments)
Dispatcher that calls the method on this object by the given name and arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFeatureEnabled, methodNotFound, notMatchingMethod, validateInputprotected AbstractValueProviderService(Supplier<List<org.mule.runtime.api.meta.model.ExtensionModel>> extensionModelsSupplier, org.mule.tooling.client.internal.serialization.Serializer serializer, org.mule.runtime.api.util.LazyValue<ValueProviderCache> valueProviderCache, org.mule.runtime.api.util.LazyValue<? extends org.mule.runtime.core.internal.locator.ComponentLocator<org.mule.runtime.ast.api.ComponentAst>> locator)
public org.mule.tooling.client.api.value.ValueResult getValues(org.mule.tooling.client.api.value.provider.ValueProviderRequest valueProviderRequest)
getValues in interface org.mule.tooling.client.api.value.provider.ValueProviderServicepublic org.mule.tooling.client.api.feature.Feature<org.mule.tooling.client.api.feature.Action<org.mule.tooling.client.api.value.provider.ValueProviderDisposeRequest>> disposeCachedValues()
disposeCachedValues in interface org.mule.tooling.client.api.value.provider.ValueProviderServiceprotected abstract org.mule.runtime.api.value.ValueResult doGetValue(org.mule.tooling.client.api.value.provider.ValueProviderRequest valueProviderRequest)
public 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 © 2024 MuleSoft, Inc.. All rights reserved.