| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String field,
Action action)
Check and validate the given field from the give action.
|
static CriptRule |
getCommonInstance()
Get an instance that use one key pre configured always
|
static CriptRule |
getInstance()
Get an instance that use one key per session
|
Map<String,String> |
getTokens()
Returns a map with tokens that can be used in the error messages.
|
protected String |
removePrefix(String s) |
public static CriptRule getInstance()
public static CriptRule getCommonInstance()
public boolean check(String field, Action action)
Rulepublic Map<String,String> getTokens()
RuleCopyright © 2015. All Rights Reserved.