public interface ToolingArtifact extends Disposable
ToolingArtifact could be used in parallel is whenever resolving MetadataKeys or ValueProviders for the same component
location.
If there is a case where clients need to resolve different operations in parallel it is recommended to work with multiple
instances of this class for the same application content. Please consider that a ToolingArtifact also has in memory
resources such as the application ClassLoader, ExtensionModels.| Modifier and Type | Method and Description |
|---|---|
ComponentLocationService |
componentLocationService() |
ConnectivityTestingService |
connectivityTestingService()
Returns a
ConnectivityTestingService to allow testing connections over the ToolingArtifact configuration. |
DataSenseService |
dataSenseService()
Returns a
DataSenseService to resolve data sense operations over the ToolingArtifact. |
DataWeaveService |
dataWeaveService()
Returns a
DataWeaveService to run a DataWeave script over an application context. |
ArtifactAst |
getArtifactAst()
Returns the
ArtifactAst representation for the underlying artifact. |
String |
getId() |
default Optional<ToolingArtifact> |
getParent() |
Map<String,String> |
getProperties() |
Feature<ResourceLoader> |
getResourceLoader()
Provides a
ResourceLoader that supports to access resources inside the artifact with the same class loading filtering
rules that Mule Runtime has. |
MetadataService |
metadataService()
Returns a
MetadataService to allow retrieving metadata over the ToolingArtifact configuration elements. |
Feature<SampleDataService> |
sampleDataService()
Returns a
ValueProviderService to be able to resolve values for a given Value Provider. |
ValueProviderService |
valueProviderService()
Returns a
ValueProviderService to be able to resolve values for a given Value Provider. |
disposeString getId()
ToolingArtifact in order to allow be fetched later.Map<String,String> getProperties()
Map of properties defined for this ToolingArtifact.default Optional<ToolingArtifact> getParent()
ToolingArtifact representing the parent, as a ToolingArtifact represents a Mule domain or application
on those cases where this ToolingArtifact represents a Mule domain no parent will be set or if the
application has not declared a domain dependency (default one will be used). In those cases where the
ToolingArtifact has been created for a Mule application and set the reference to the parent
ToolingArtifact that value will be returned here.
In addition to that if the ToolingArtifact has been created without the parent reference but declares a
domain dependency a ToolingArtifact will be created for the domain discovered.ConnectivityTestingService connectivityTestingService()
ConnectivityTestingService to allow testing connections over the ToolingArtifact configuration.ConnectivityTestingServiceMetadataService metadataService()
MetadataService to allow retrieving metadata over the ToolingArtifact configuration elements.MetadataServiceDataSenseService dataSenseService()
DataSenseService to resolve data sense operations over the ToolingArtifact.DataSenseServiceDataWeaveService dataWeaveService()
DataWeaveService to run a DataWeave script over an application context.DataWeaveServiceValueProviderService valueProviderService()
ValueProviderService to be able to resolve values for a given Value Provider.ValueProviderServiceFeature<SampleDataService> sampleDataService()
ValueProviderService to be able to resolve values for a given Value Provider.ValueProviderServiceFeature<ResourceLoader> getResourceLoader()
ResourceLoader that supports to access resources inside the artifact with the same class loading filtering
rules that Mule Runtime has.Feature for the ResourceLoader to access resources inside the artifact.ComponentLocationService componentLocationService()
ArtifactAst getArtifactAst()
ArtifactAst representation for the underlying artifact.ArtifactAst representation for the underlying artifact.Copyright © 2025 MuleSoft, Inc.. All rights reserved.