Interface ArtifactAstValidator
@NoImplement
public interface ArtifactAstValidator
Implementations provide capabilities for running the validations available for a given
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).
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(ArtifactAst artifact) Runs all validations available from the configured classloader (ArtifactAstValidatorBuilder.withArtifactRegionClassLoader(ClassLoader).
-
Method Details
-
validate
Runs all validations available from the configured classloader (ArtifactAstValidatorBuilder.withArtifactRegionClassLoader(ClassLoader).All validations will be run even if failures are found in some. The result will contain all failures.
- Parameters:
artifact- the artifact to validate- Returns:
- the result of the validation
-