Uses of Interface
org.mule.runtime.ast.api.ArtifactAst
Packages that use ArtifactAst
Package
Description
-
Uses of ArtifactAst in org.mule.runtime.ast.api
Methods in org.mule.runtime.ast.api that return types with arguments of type ArtifactAstMethods in org.mule.runtime.ast.api with parameters of type ArtifactAstModifier and TypeMethodDescriptionabstract 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 ofExtensionModels according to the resolution mode type. -
Uses of ArtifactAst in org.mule.runtime.ast.api.builder
Methods in org.mule.runtime.ast.api.builder that return ArtifactAstModifier and TypeMethodDescriptionArtifactAstBuilder.build()Builds the target artifact and its inner components.Method parameters in org.mule.runtime.ast.api.builder with type arguments of type ArtifactAstModifier and TypeMethodDescriptionstatic ArtifactAstBuilderArtifactAstBuilder.builder(String artifactName, ArtifactType artifactType, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels, Optional<ArtifactAst> parentArtifact, UnaryOperator<String> basePropertiesResolver) static ArtifactAstBuilderArtifactAstBuilder.builder(String artifactName, ArtifactType artifactType, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels, Optional<ArtifactAst> parentArtifact, UnaryOperator<String> basePropertiesResolver, ExtensionModelHelper extModelHelper) static ArtifactAstBuilderArtifactAstBuilder.builder(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels, Optional<ArtifactAst> parentArtifact) static ArtifactAstBuilderArtifactAstBuilder.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 providedextensionModels.static ArtifactAstBuilderArtifactAstBuilder.builder(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels, Optional<ArtifactAst> parentArtifact, UnaryOperator<String> basePropertiesResolver, ExtensionModelHelper extModelHelper) Instantiates a new raw builder, whose components will be declared in the providedextensionModels.static ArtifactAstBuilderArtifactAstBuilder.builder(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels, Optional<ArtifactAst> parentArtifact, ExtensionModelHelper extModelHelper) -
Uses of ArtifactAst in org.mule.runtime.ast.api.util
Classes in org.mule.runtime.ast.api.util that implement ArtifactAstMethods in org.mule.runtime.ast.api.util that return ArtifactAstModifier and TypeMethodDescriptionstatic ArtifactAstMuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source, UnaryOperator<ComponentAst> componentMapper) Copies and transforms a givenArtifactAst, mapping its internalComponentAstinstances with the providedcompoenentMapperfunction.static ArtifactAstMuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source, UnaryOperator<ComponentAst> componentMapper, Supplier<List<ComponentAst>> topLeveltoAdd, Predicate<ComponentAst> topLevelToRemove) Copies and transforms a givenArtifactAst, mapping its internalComponentAstinstances with the providedcompoenentMapperfunction.static ArtifactAstMuleAstUtils.emptyArtifact()Provides a singleton emptyArtifactAstinstance.static ArtifactAstMuleAstUtils.filteredArtifactAst(ArtifactAst artifactAst, Predicate<ComponentAst> componentFilter) Methods in org.mule.runtime.ast.api.util with parameters of type ArtifactAstModifier and TypeMethodDescriptionstatic ArtifactAstMuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source, UnaryOperator<ComponentAst> componentMapper) Copies and transforms a givenArtifactAst, mapping its internalComponentAstinstances with the providedcompoenentMapperfunction.static ArtifactAstMuleArtifactAstCopyUtils.copyRecursively(ArtifactAst source, UnaryOperator<ComponentAst> componentMapper, Supplier<List<ComponentAst>> topLeveltoAdd, Predicate<ComponentAst> topLevelToRemove) Copies and transforms a givenArtifactAst, mapping its internalComponentAstinstances with the providedcompoenentMapperfunction.static ArtifactAstMuleAstUtils.filteredArtifactAst(ArtifactAst artifactAst, Predicate<ComponentAst> componentFilter) static Stream<org.mule.runtime.api.util.Pair<ComponentAst,List<ComponentAst>>> MuleAstUtils.recursiveStreamWithHierarchy(ArtifactAst artifact) Similar torecursiveStream(), but it enhances theStreamby adding hierarchy context to each item.static Stream<org.mule.runtime.api.util.Pair<ComponentAst,List<ComponentAst>>> MuleAstUtils.recursiveStreamWithHierarchy(ArtifactAst artifact, AstTraversalDirection direction) Similar torecursiveStream(), but it enhances theStreamby 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 torecursiveStream(), but it enhances theStreamby adding hierarchy context to each item.static Set<ComponentAst>MuleAstUtils.resolveOrphanComponents(ArtifactAst appModel) Given anArtifactAst, return all those components within it that are not accessible from a top-level component.static ValidationResultMuleAstUtils.validate(ArtifactAst artifact) Deprecated.static ValidationResultMuleAstUtils.validate(ArtifactAst artifact, Consumer<ValidationsProvider> validationEnricher) Deprecated.since 1.1, useMuleAstUtils.validatorBuilder()instead.static ValidationResultMuleAstUtils.validate(ArtifactAst artifact, Consumer<ValidationsProvider> validationEnricher, Predicate<Validation> validationsFilter, ClassLoader artifactRegionClassLoader) Deprecated.since 1.1, useMuleAstUtils.validatorBuilder()instead.static ValidationResultMuleAstUtils.validate(ArtifactAst artifact, Predicate<Validation> validationsFilter) Deprecated.since 1.1, useMuleAstUtils.validatorBuilder()instead. -
Uses of ArtifactAst in org.mule.runtime.ast.api.validation
Methods in org.mule.runtime.ast.api.validation with parameters of type ArtifactAstModifier and TypeMethodDescriptionArtifactAstValidator.validate(ArtifactAst artifact) Runs all validations available from the configured classloader (ArtifactAstValidatorBuilder.withArtifactRegionClassLoader(ClassLoader).default Optional<ValidationResultItem>ArtifactValidation.validate(ArtifactAst artifact) Runs this validation in the provided artifact.default Optional<ValidationResultItem>ArtifactValidation.validate(ComponentAst component, ArtifactAst artifact) default Optional<ValidationResultItem>Validation.validate(ComponentAst component, ArtifactAst artifact) Runs this validation in the provided component.default List<ValidationResultItem>ArtifactValidation.validateMany(ArtifactAst artifact) Runs this validation in the provided artifact.default List<ValidationResultItem>Validation.validateMany(ComponentAst component, ArtifactAst artifact) Runs this validation in the provided component. -
Uses of ArtifactAst in org.mule.runtime.ast.internal.builder
Methods in org.mule.runtime.ast.internal.builder that return ArtifactAstConstructor parameters in org.mule.runtime.ast.internal.builder with type arguments of type ArtifactAstModifierConstructorDescriptionDefaultArtifactAstBuilder(String artifactName, ArtifactType artifactType, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionsModels, Optional<ArtifactAst> parentArtifact, UnaryOperator<String> basePropertiesResolver, ExtensionModelHelper extModelHelper, ComponentLocationVisitor componentLocationVisitor, ParameterModelUtils parameterModelUtils) -
Uses of ArtifactAst in org.mule.runtime.ast.internal.error
Methods in org.mule.runtime.ast.internal.error with parameters of type ArtifactAstModifier and TypeMethodDescriptionstatic voidErrorTypeRepositoryBuildingUtils.addErrorsFromArtifact(ArtifactAst artifact, org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository) Populates the providederrorTypeRepositorywith the errors declared in the components that may declare new errors.
MuleAstUtils.validatorBuilder()instead.