public class NamedTopLevelElementsHaveName extends Object implements org.mule.runtime.ast.api.validation.Validation
| Constructor and Description |
|---|
NamedTopLevelElementsHaveName() |
| 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 topLevelComponent,
org.mule.runtime.ast.api.ArtifactAst artifact) |
public String getName()
getName in interface org.mule.runtime.ast.api.validation.Validationpublic String getDescription()
getDescription 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.Validationpublic Predicate<List<org.mule.runtime.ast.api.ComponentAst>> applicable()
applicable in interface org.mule.runtime.ast.api.validation.Validationpublic Optional<org.mule.runtime.ast.api.validation.ValidationResultItem> validate(org.mule.runtime.ast.api.ComponentAst topLevelComponent, org.mule.runtime.ast.api.ArtifactAst artifact)
validate in interface org.mule.runtime.ast.api.validation.ValidationCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.