public static interface ToolingRuntimeClient.Builder
| Modifier and Type | Method and Description |
|---|---|
ToolingRuntimeClient |
build()
Builds the
ToolingRuntimeClient. |
ToolingRuntimeClient.Builder |
withEmbeddedContainer(org.mule.runtime.module.embedded.api.EmbeddedContainer embeddedContainer,
AgentConfiguration embeddedAgentConfiguration)
Running
EmbeddedContainer to use to execute services that requires a runtime. |
ToolingRuntimeClient.Builder |
withMavenConfiguration(org.mule.maven.client.api.model.MavenConfiguration mavenConfiguration)
Sets the
MavenConfiguration used by the client to access the maven artifacts. |
ToolingRuntimeClient.Builder |
withRemoteAgentConfiguration(AgentConfiguration agentConfiguration)
Sets the
AgentConfiguration used by the client to access the Tooling REST API. |
ToolingRuntimeClient.Builder withRemoteAgentConfiguration(AgentConfiguration agentConfiguration)
AgentConfiguration used by the client to access the Tooling REST API. If the operations executed by the
client don't require to access Tooling REST API this won't need to be set. Otherwise an operation could throw a
MissingToolingConfigurationException in case if there was no configuration
set for the client instance.agentConfiguration - AgentConfiguration for the client.ToolingRuntimeClient.Builder withMavenConfiguration(org.mule.maven.client.api.model.MavenConfiguration mavenConfiguration)
MavenConfiguration used by the client to access the maven artifacts.
If not provided, then the bootstrap maven configuration will be used.mavenConfiguration - MavenConfiguration for the client.ToolingRuntimeClient.Builder withEmbeddedContainer(org.mule.runtime.module.embedded.api.EmbeddedContainer embeddedContainer, AgentConfiguration embeddedAgentConfiguration)
EmbeddedContainer to use to execute services that requires a runtime.
If provided, then it will be used for runtime services. Take into account that the embedded container must have the same mule version and product configuration as this client.
It is expected that the container has the agent running and that uses plain HTTP.
embeddedContainer - an embedded mule container.embeddedAgentConfiguration - agent configuration for embedded container.ToolingRuntimeClient build()
ToolingRuntimeClient.ToolingRuntimeClient.Copyright © 2017 MuleSoft, Inc.. All rights reserved.