Interface GuavaValidators
- All Superinterfaces:
GuavaAssertThat,GuavaCheckIf,GuavaRequireThat,Validators<GuavaValidators>
public interface GuavaValidators
extends Validators<GuavaValidators>, GuavaRequireThat, GuavaAssertThat, GuavaCheckIf
Creates validators for the Guava 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 GuavaValidatorsCreates a new instance using the default configuration.Methods declared in interface com.github.cowwoc.requirements10.guava.GuavaAssertThat
assertThat, assertThatMethods declared in interface com.github.cowwoc.requirements10.guava.GuavaCheckIf
checkIf, checkIfMethods declared in interface com.github.cowwoc.requirements10.guava.GuavaRequireThat
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
-