| Constructor and Description |
|---|
DefaultDataWeaveService(Application application,
DataWeaveRunnerProvider runnerProvider,
ModulesAnalyzer modulesAnalyzer) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.dataweave.DataWeavePreviewResponse |
execute(org.mule.tooling.client.api.dataweave.DataWeavePreviewRequest parameters) |
ModulesAnalyzer |
getModulesAnalyzer() |
List<org.mule.tooling.client.api.dataweave.DataWeaveModuleOption> |
getReaderOptions(String contentType) |
DataWeaveRunnerProvider |
getRunnerProvider() |
List<org.mule.tooling.client.api.dataweave.DataWeaveModuleOption> |
getWriterOptions(String contentType) |
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.el.ValidationResult |
validate(org.mule.tooling.client.api.dataweave.validation.DataWeaveValidationRequest request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmethodNotFound, notMatchingMethodpublic DefaultDataWeaveService(Application application, DataWeaveRunnerProvider runnerProvider, ModulesAnalyzer modulesAnalyzer)
public org.mule.tooling.client.api.dataweave.DataWeavePreviewResponse execute(org.mule.tooling.client.api.dataweave.DataWeavePreviewRequest parameters)
execute in interface org.mule.tooling.client.api.dataweave.DataWeaveServicepublic org.mule.tooling.client.api.el.ValidationResult validate(org.mule.tooling.client.api.dataweave.validation.DataWeaveValidationRequest request)
validate in interface org.mule.tooling.client.api.dataweave.DataWeaveServicepublic List<org.mule.tooling.client.api.dataweave.DataWeaveModuleOption> getReaderOptions(String contentType)
getReaderOptions in interface org.mule.tooling.client.api.dataweave.DataWeaveServicepublic List<org.mule.tooling.client.api.dataweave.DataWeaveModuleOption> getWriterOptions(String contentType)
getWriterOptions in interface org.mule.tooling.client.api.dataweave.DataWeaveServicepublic ModulesAnalyzer getModulesAnalyzer()
public DataWeaveRunnerProvider getRunnerProvider()
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 © 2017 MuleSoft, Inc.. All rights reserved.