public interface GenericValidator
Modifier and Type | Method and Description |
---|---|
List<ValidationMessage> |
validate(Path resourcePath)
Validate an asset.
|
List<ValidationMessage> |
validate(Path resourcePath,
String content)
Validate an asset.
|
List<ValidationMessage> validate(Path resourcePath, String content)
resourcePath
- The VFS Path of the resourcecontent
- An String containing the resource to be validated.List<ValidationMessage> validate(Path resourcePath)
resourcePath
- The VFS Path of the resourceCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.