public final class Context extends Object
| Constructor and Description |
|---|
Context() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String field,
String message,
String code,
Object attemptedValue) |
<P> P |
getProperty(String property,
Class<P> clazz) |
ValidationResult |
getValidationResult() |
void |
setProperty(String property,
Object value) |
public void addError(String field, String message, String code, Object attemptedValue)
field - message - code - attemptedValue - public <P> P getProperty(String property, Class<P> clazz)
property - clazz - public ValidationResult getValidationResult()
Copyright © 2019 com.github.mvallim. All rights reserved.