|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.spaz.cron.config.AbstractRegexKeyValidator ca.spaz.cron.user.impl.CRONUser.UserPropertyValidator
public static class CRONUser.UserPropertyValidator
A simple validator for user properties.
Constructor Summary | |
---|---|
CRONUser.UserPropertyValidator()
|
Method Summary | |
---|---|
protected boolean |
doIsValid(java.lang.String key,
java.lang.String value)
This method will be called only in the case where the pattern matches. |
protected java.lang.String |
getExpression()
Get the regular expression to match the key on. |
Methods inherited from class ca.spaz.cron.config.AbstractRegexKeyValidator |
---|
getMatcher, isValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRONUser.UserPropertyValidator()
Method Detail |
---|
protected boolean doIsValid(java.lang.String key, java.lang.String value)
AbstractRegexKeyValidator
doIsValid
in class AbstractRegexKeyValidator
key
- The matching key.value
- The value being checked.
true
if value
is a valid value for
key
, false
otherwise.protected java.lang.String getExpression()
AbstractRegexKeyValidator
getExpression
in class AbstractRegexKeyValidator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |