public static class DefaultDeclarationSession.DefaultDeclarationSessionBuilder extends Object implements org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder, Command
| Constructor and Description |
|---|
DefaultDeclarationSessionBuilder(org.mule.tooling.client.internal.serialization.Serializer serializer,
RuntimeToolingService runtimeToolingService,
org.mule.maven.client.api.MavenClient mavenClient,
MuleRuntimeExtensionModelProvider muleRuntimeExtensionModelProvider,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.declaration.session.DeclarationSession |
build() |
org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder |
internalWithCacheStorage(Map<String,?> cacheStorage) |
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.declaration.session.DeclarationSession.Builder |
withCacheStorage(org.mule.tooling.client.api.cache.CacheStorage cacheStorage) |
org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder |
withConfigurationElementDeclarations(List<org.mule.runtime.app.declaration.api.ConfigurationElementDeclaration> configurationElementDeclarations) |
org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder |
withDependency(org.mule.tooling.client.api.descriptors.dependency.Dependency dependency) |
org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder |
withGlobalParameters(List<org.mule.runtime.app.declaration.api.TopLevelParameterDeclaration> globalParameterDeclarations) |
org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder |
withSessionProperties(Map<String,String> sessionProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFeatureEnabled, methodNotFound, notMatchingMethod, validateInputpublic DefaultDeclarationSessionBuilder(org.mule.tooling.client.internal.serialization.Serializer serializer,
RuntimeToolingService runtimeToolingService,
org.mule.maven.client.api.MavenClient mavenClient,
MuleRuntimeExtensionModelProvider muleRuntimeExtensionModelProvider,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage)
public org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder withConfigurationElementDeclarations(List<org.mule.runtime.app.declaration.api.ConfigurationElementDeclaration> configurationElementDeclarations)
withConfigurationElementDeclarations in interface org.mule.tooling.client.api.declaration.session.DeclarationSession.Builderpublic org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder withGlobalParameters(List<org.mule.runtime.app.declaration.api.TopLevelParameterDeclaration> globalParameterDeclarations)
withGlobalParameters in interface org.mule.tooling.client.api.declaration.session.DeclarationSession.Builderpublic org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder withSessionProperties(Map<String,String> sessionProperties)
withSessionProperties in interface org.mule.tooling.client.api.declaration.session.DeclarationSession.Builderpublic org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder withDependency(org.mule.tooling.client.api.descriptors.dependency.Dependency dependency)
withDependency in interface org.mule.tooling.client.api.declaration.session.DeclarationSession.Builderpublic org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder withCacheStorage(org.mule.tooling.client.api.cache.CacheStorage cacheStorage)
withCacheStorage in interface org.mule.tooling.client.api.declaration.session.DeclarationSession.Builderpublic org.mule.tooling.client.api.declaration.session.DeclarationSession.Builder internalWithCacheStorage(Map<String,?> cacheStorage)
public org.mule.tooling.client.api.declaration.session.DeclarationSession build()
build in interface org.mule.tooling.client.api.declaration.session.DeclarationSession.Builderpublic 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.