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