public interface PropertyValidationHandler extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
afterValidation(org.apache.commons.logging.Log logger,
boolean isAllValid)
Method called after validation of the PropertyIO and all the Property's.
|
void |
invalidProperty(org.apache.commons.logging.Log logger,
Property<?> property,
Exception exception)
A handle of a property which is INVALID.
|
void |
invalidPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io,
Exception exception)
If the propertyIO was INVALID (aka it could NOT find the property file etc.)
|
void |
validProperty(org.apache.commons.logging.Log logger,
Property<?> property)
A handle of a property that is valid
|
void |
validPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io)
A handle of a property IO that is valid.
|
void validProperty(org.apache.commons.logging.Log logger,
Property<?> property)
logger - the logger, if null than System.out is used.property - the property which is VALID.void invalidProperty(org.apache.commons.logging.Log logger,
Property<?> property,
Exception exception)
logger - the logger, if null than System.err is used.property - the property which is INVALID, can be null.exception - the exceptionvoid validPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io)
logger - the logger, if null than System.out is used.io - the IO used.void invalidPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io,
Exception exception)
logger - the logger, if null than System.err is used.io - the IO usedexception - the exceptionvoid afterValidation(org.apache.commons.logging.Log logger,
boolean isAllValid)
logger - the logger, if null than System.err or System.out is usedisAllValid - true if PropertyIO and all Property's is valid, otherwise false.