Skip to content

maurerit/validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parameter Validation API

An easy to use Method Parameter Validation API using a fluent style approach for easily validating multiple parameters with as little code as possible.

Think of the following:

Validation.begin()
          .notNull(parameter,"parameter name")
          .notEmpty(string,"string name")
          .check()
          // ^ will throw a ParameterException/MultiParameterException if previous
          // calls failed their check conditions.

This library relies on lombok-pg to easily extend the Validation class with more useful methods without increasing the size of the code within Validation.java. This approach offers the ability for users of this library to further enhance the Validation class by implementing their own validation methods using method extensions.

About

A fluent parameter validation api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages