Requirements
Purpose
These are utilities for:
- an interface for requirements to implement
- applying groups of requirements to the same input data
Available Interfaces
Interface | Description |
---|---|
Requirement |
interface for all requirements to implement |
Click on the name of an interface to see full details.
Available Classes
Class | Description |
---|---|
ComposableRequirement |
convert a partial requirement into one that could be composable |
InvokeableRequirement |
convenience trait to provide the __invoke() method of the Requirement interface |
ListableRequirement |
convenience trait to provide the toList() and inspectList() methods of the ListRequirement interface |
RequireAllOf |
a value must meet all the requirements in the list |
RequireAnyOneOf |
a value must meet at least one of the requirements in the list |
RequireValidAssurances |
a value must be a list of assurances |
RequireValidChecks |
a value must be a list of checks |
RequireValidRequirements |
a value must be a list of requirements |
Click on the name of a class to see full details.