org.unitils.objectvalidation
Class ValidationModule
java.lang.Object
org.unitils.objectvalidation.ValidationModule
- All Implemented Interfaces:
- org.unitils.core.Module
public class ValidationModule
- extends Object
- implements org.unitils.core.Module
Module to validate class against rules, it could be one of the rules
defined in the org.unitils.objectvalidation.rules package
but could be also user implemented rules for other purpose.
Helpful in the case we want to have a project wide rule validator for classes. Simple to use with annotations.
- Since:
- Oct 8, 2013
- Author:
- Matthieu Mestrez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationModule
public ValidationModule()
init
public void init(Properties configuration)
- Specified by:
init in interface org.unitils.core.Module
afterInit
public void afterInit()
- Specified by:
afterInit in interface org.unitils.core.Module
getTestListener
public org.unitils.core.TestListener getTestListener()
- Specified by:
getTestListener in interface org.unitils.core.Module
Copyright © 2013-2015. All Rights Reserved.