public interface Validator<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Validator.Result |
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
getName() |
Class<T> |
getValidationInput() |
@NonNull Validator.Result |
validate(T object,
ValidatorMojo mojo) |
@NonNull String getName()
@CheckReturnValue @NonNull Validator.Result validate(T object, ValidatorMojo mojo) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2018 SPF4J. All rights reserved.