ca.spaz.cron.config
Interface PropertyValidator
- All Known Implementing Classes:
- AbstractRegexKeyValidator, CRONUser.UserPropertyValidator, DatasourceValidator
public interface PropertyValidator
An interface for validation of property values.
- Author:
- Chris Rose
Method Summary |
boolean |
isValid(java.lang.String key,
java.lang.String value)
Validate the specified value for the key. |
isValid
boolean isValid(java.lang.String key,
java.lang.String value)
- Validate the specified value for the key.
- Parameters:
key
- The property key to test.value
- The property value to test.
- Returns:
true
if the value is a valid one for the specified key,
false
otherwise.
Copyright © 2005 Spaz. All Rights Reserved.