Interface JacksonValidators
- All Superinterfaces:
JacksonAssertThat,JacksonCheckIf,JacksonRequireThat,Validators<JacksonValidators>
public interface JacksonValidators
extends Validators<JacksonValidators>, JacksonRequireThat, JacksonAssertThat, JacksonCheckIf
Creates validators for the Jackson API with an independent configuration.
A factory that creates different types of validators.
There are three kinds of validators:
requireThat()for method preconditions.assertThat()for class invariants, and method postconditions.checkIf()for returning multiple validation failures.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic JacksonValidatorsCreates a new instance using the default configuration.Methods declared in interface com.github.cowwoc.requirements10.jackson.JacksonAssertThat
assertThat, assertThatMethods declared in interface com.github.cowwoc.requirements10.jackson.JacksonCheckIf
checkIf, checkIfMethods declared in interface com.github.cowwoc.requirements10.jackson.JacksonRequireThat
requireThatMethods declared in interface com.github.cowwoc.requirements10.java.Validators
copy, getContext, globalConfiguration, removeContext, withContext
-
Method Details
-
newInstance
Creates a new instance using the default configuration.- Returns:
- an instance of this interface
-