org.unitils.objectvalidation.rules
Class PublicEmptyConstructorRule
java.lang.Object
org.unitils.objectvalidation.rules.PublicEmptyConstructorRule
- All Implemented Interfaces:
- Rule
public class PublicEmptyConstructorRule
- extends Object
- implements Rule
Rules to verify that the provided class has a default empty constructor.
- Since:
- Oct 22, 2013
- Author:
- Matthieu Mestrez
|
Method Summary |
void |
validate(Class<?> classToValidate)
Will run the validations on the java class passed in parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicEmptyConstructorRule
public PublicEmptyConstructorRule()
validate
public void validate(Class<?> classToValidate)
- Description copied from interface:
Rule
- Will run the validations on the java class passed in parameter.
- Specified by:
validate in interface Rule
Copyright © 2013-2015. All Rights Reserved.