| Constructor and Description |
|---|
ContainsRule(String... words)
Creates a ContainsRule that checks for words.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String value)
Check a single input value from this action.
|
static ContainsRule |
getInstance(String... words) |
Map<String,String> |
getTokens()
Returns a map with tokens that can be used in the error messages.
|
public ContainsRule(String... words)
words - The words to checkpublic static ContainsRule getInstance(String... words)
public Map<String,String> getTokens()
RuleCopyright © 2015. All Rights Reserved.