| Constructor and Description |
|---|
RequiredFieldRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String field,
Action action)
Check and validate the given field from the give action.
|
static RequiredFieldRule |
getInstance() |
Map<String,String> |
getTokens()
Returns a map with tokens that can be used in the error messages.
|
public static RequiredFieldRule getInstance()
public boolean check(String field, Action action)
RuleCopyright © 2015. All Rights Reserved.