Assurances
Purpose
These are utilities for:
- an interface for assurances to implement
- applying groups of assurances to the same data
Available Interfaces
Interface | Description |
---|---|
Assurance |
interface for all assurances to implement |
ListAssurance |
interface for all assurances that check lists of data to implement |
Click on the name of an interface to see full details.
Available Classes
Class | Description |
---|---|
ComposableAssurance |
convert a partial assurance into one that could be composable |
EnsureAllOf |
a value must meet all the assurances in the list |
EnsureAnyOneOf |
a value must meet at least one of the assurances in the list |
InvokeableAssurance |
convenience trait to provide the __invoke() method of the Assurance interface |
ListableAssurance |
convenience trait to provide the toList() and inspectList() methods of the ListAssurance interface |
Click on the name of a class to see full details.