public interface ValidationsProvider extends Supplier<List<Validation>>
Implementations will be discovered through SPI, using the Thread.getContextClassLoader() when
MuleAstUtils.validate(org.mule.runtime.ast.api.ArtifactAst) was called.
Implementations must be stateless.
| Modifier and Type | Method and Description |
|---|---|
default List<ArtifactValidation> |
getArtifactValidations() |
default void |
setArtifactRegionClassLoader(ClassLoader artifactRegionClassLoader)
Allows for validations that check for resources in the artifact.
|
default List<ArtifactValidation> getArtifactValidations()
ArtifactValidations to execute.default void setArtifactRegionClassLoader(ClassLoader artifactRegionClassLoader)
artifactRegionClassLoader - the classLoader to use to load any resources referenced by the artifact.Copyright © 2022 MuleSoft, Inc.. All rights reserved.