| Constructor and Description |
|---|
CrossRule() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
check(String[] values)
Check different values from an action input for the validation.
|
boolean |
check(String field,
Action action)
Check and validate the given field from the give action.
|
protected abstract String[] |
getFieldsToValidate()
Subclasses should implement this method to indicate which fields
from the action input they want to receive for validation.
|
Map<String,String> |
getTokens()
Returns a map with tokens that can be used in the error messages.
|
protected abstract String[] getFieldsToValidate()
public abstract boolean check(String[] values)
values - The values to compare.public boolean check(String field, Action action)
RuleCopyright © 2015. All Rights Reserved.