public class ImportValidTarget extends Object implements org.mule.runtime.ast.api.validation.ArtifactValidation
This validation doesn't do the actual resource resolution, but instead generates the failed validation for any errors that happened during the resolution of the imports during the artifact parsing.
| Constructor and Description |
|---|
ImportValidTarget() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<List<org.mule.runtime.ast.api.ComponentAst>> |
applicable() |
String |
getDescription() |
org.mule.runtime.ast.api.validation.Validation.Level |
getLevel() |
String |
getName() |
Optional<org.mule.runtime.ast.api.validation.ValidationResultItem> |
validate(org.mule.runtime.ast.api.ComponentAst component,
org.mule.runtime.ast.api.ArtifactAst artifact) |
List<org.mule.runtime.ast.api.validation.ValidationResultItem> |
validateMany(org.mule.runtime.ast.api.ArtifactAst artifact) |
public String getName()
getName in interface org.mule.runtime.ast.api.validation.ArtifactValidationgetName in interface org.mule.runtime.ast.api.validation.Validationpublic String getDescription()
getDescription in interface org.mule.runtime.ast.api.validation.ArtifactValidationgetDescription in interface org.mule.runtime.ast.api.validation.Validationpublic org.mule.runtime.ast.api.validation.Validation.Level getLevel()
getLevel in interface org.mule.runtime.ast.api.validation.ArtifactValidationgetLevel in interface org.mule.runtime.ast.api.validation.Validationpublic List<org.mule.runtime.ast.api.validation.ValidationResultItem> validateMany(org.mule.runtime.ast.api.ArtifactAst artifact)
validateMany in interface org.mule.runtime.ast.api.validation.ArtifactValidationpublic Predicate<List<org.mule.runtime.ast.api.ComponentAst>> applicable()
applicable in interface org.mule.runtime.ast.api.validation.ArtifactValidationapplicable in interface org.mule.runtime.ast.api.validation.Validationpublic Optional<org.mule.runtime.ast.api.validation.ValidationResultItem> validate(org.mule.runtime.ast.api.ComponentAst component, org.mule.runtime.ast.api.ArtifactAst artifact)
validate in interface org.mule.runtime.ast.api.validation.ArtifactValidationvalidate in interface org.mule.runtime.ast.api.validation.ValidationCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.