public static interface ToolingRuntimeClient.Builder
| Modifier and Type | Method and Description |
|---|---|
ToolingRuntimeClient |
build()
Builds the
ToolingRuntimeClient. |
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 |
withMetadataCacheFactory(MetadataCacheFactory metadataCacheFactory)
Sets the
MetadataCacheFactory used by the client to create MetadataCache. |
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 withMetadataCacheFactory(MetadataCacheFactory metadataCacheFactory)
MetadataCacheFactory used by the client to create MetadataCache.
If not provided, metadata resolution will be always fetched from Mule Runtime when resolving data sense.metadataCacheFactory - MetadataCacheFactory factory for MetadataCache.ToolingRuntimeClient build()
ToolingRuntimeClient.ToolingRuntimeClient.Copyright © 2019 MuleSoft, Inc.. All rights reserved.