| Modifier and Type | Method and Description |
|---|---|
Optional<ArtifactAst> |
ArtifactAst.getParent() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<org.mule.runtime.api.meta.model.ExtensionModel> |
DependencyResolutionMode.resolveDependencies(Supplier<Set<org.mule.runtime.api.meta.model.ExtensionModel>> extensionModelsSupplier,
ArtifactAst artifactAst)
Generates a set of
ExtensionModels according to the resolution mode type. |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAst |
ArtifactAstBuilder.build()
Builds the target artifact and its inner components.
|
| Modifier and Type | Method and Description |
|---|---|
static ArtifactAstBuilder |
ArtifactAstBuilder.builder(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels,
Optional<ArtifactAst> parentArtifact) |
static ArtifactAstBuilder |
ArtifactAstBuilder.builder(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels,
Optional<ArtifactAst> parentArtifact,
UnaryOperator<String> basePropertiesResolver)
Instantiates a new raw builder, whose components will be declared in the provided
extensionModels. |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseArtifactAst
Base implementation of
ArtifactAst. |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactAst |
MuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source,
UnaryOperator<ComponentAst> componentMapper)
Copies and transforms a given
ArtifactAst, mapping its internal ComponentAst instances with the provided
compoenentMapper function. |
static ArtifactAst |
MuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source,
UnaryOperator<ComponentAst> componentMapper,
Supplier<List<ComponentAst>> topLeveltoAdd,
Predicate<ComponentAst> topLevelToRemove)
Copies and transforms a given
ArtifactAst, mapping its internal ComponentAst instances with the provided
compoenentMapper function. |
static ArtifactAst |
MuleAstUtils.emptyArtifact()
Provides a singleton empty
ArtifactAst instance. |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactAst |
MuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source,
UnaryOperator<ComponentAst> componentMapper)
Copies and transforms a given
ArtifactAst, mapping its internal ComponentAst instances with the provided
compoenentMapper function. |
static ArtifactAst |
MuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source,
UnaryOperator<ComponentAst> componentMapper,
Supplier<List<ComponentAst>> topLeveltoAdd,
Predicate<ComponentAst> topLevelToRemove)
Copies and transforms a given
ArtifactAst, mapping its internal ComponentAst instances with the provided
compoenentMapper function. |
static Stream<org.mule.runtime.api.util.Pair<ComponentAst,List<ComponentAst>>> |
MuleAstUtils.recursiveStreamWithHierarchy(ArtifactAst artifact)
Similar to
recursiveStream(), but it enhances the Stream by adding hierarchy context to each
item. |
static Stream<org.mule.runtime.api.util.Pair<ComponentAst,List<ComponentAst>>> |
MuleAstUtils.recursiveStreamWithHierarchy(ArtifactAst artifact,
AstTraversalDirection direction)
Similar to
recursiveStream(), but it enhances the Stream by adding hierarchy context to each
item. |
static Stream<org.mule.runtime.api.util.Pair<ComponentAst,List<ComponentAst>>> |
MuleAstUtils.recursiveStreamWithHierarchy(ArtifactAst artifact,
AstTraversalDirection direction,
boolean ignoreParameterComplexValues)
Similar to
recursiveStream(), but it enhances the Stream by adding hierarchy context to each
item. |
static Set<ComponentAst> |
MuleAstUtils.resolveOrphanComponents(ArtifactAst appModel)
Given an
ArtifactAst, return all those components within it that are not accessible from a top-level component. |
static ValidationResult |
MuleAstUtils.validate(ArtifactAst artifact)
Runs all validations available from the current
Thread.getContextClassLoader(). |
static ValidationResult |
MuleAstUtils.validate(ArtifactAst artifact,
Predicate<Validation> validationsFilter)
Runs all validations available from the current
Thread.getContextClassLoader(). |
| Modifier and Type | Method and Description |
|---|---|
Optional<ValidationResultItem> |
Validation.validate(ComponentAst component,
ArtifactAst artifact)
Runs this validation in the provided component.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultArtifactAst |
class |
FilteredArtifactAst |
| Modifier and Type | Method and Description |
|---|---|
Optional<ArtifactAst> |
FilteredArtifactAst.getParent() |
Optional<ArtifactAst> |
DefaultArtifactAst.getParent() |
| Constructor and Description |
|---|
DefaultArtifactAst(List<ComponentAst> topLevelComponents,
Supplier<Set<org.mule.runtime.api.meta.model.ExtensionModel>> dependenciesSupplier,
ArtifactAst parentArtifact,
PropertiesResolver propertiesResolver,
NamespaceDefinition namespaceDefinition,
List<ImportedResource> importedResources) |
FilteredArtifactAst(ArtifactAst fullArtifactAst,
Predicate<ComponentAst> componentFilter) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAst |
DefaultArtifactAstBuilder.build() |
| Constructor and Description |
|---|
DefaultArtifactAstBuilder(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels,
Optional<ArtifactAst> parentArtifact,
UnaryOperator<String> basePropertiesResolver) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ErrorTypeRepositoryBuildingUtils.addErrorsFromArtifact(ArtifactAst artifact,
org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository)
Populates the provided
errorTypeRepository with the errors declared in the components that may declare new errors. |
Copyright © 2025 MuleSoft, Inc.. All rights reserved.