@NoImplement
public interface ArtifactAstValidator
ArtifactAst.
Instances may be reused for validating many ArtifactAsts as long as the classloader definitions for all the
ArtifactAst are the same (as provided to the builder of this instance, ArtifactAstValidatorBuilder).
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(ArtifactAst artifact)
Runs all validations available from the configured classloader
(
ArtifactAstValidatorBuilder.withArtifactRegionClassLoader(ClassLoader). |
ValidationResult validate(ArtifactAst artifact)
ArtifactAstValidatorBuilder.withArtifactRegionClassLoader(ClassLoader).
All validations will be run even if failures are found in some. The result will contain all failures.
artifact - the artifact to validateCopyright © 2022 MuleSoft, Inc.. All rights reserved.