Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Reason) - Method in class be.sddevelopment.validation.core.Rationale
- adheresTo(Constraint<T>) - Method in class be.sddevelopment.validation.core.Constrained
- applyTo(T) - Method in record class be.sddevelopment.validation.core.Constraint
- assess(T) - Method in class be.sddevelopment.validation.core.ModularRuleset
- aValid(Class<S>) - Static method in class be.sddevelopment.validation.core.ModularRuleset
B
- be.sddevelopment.validation.core - package be.sddevelopment.validation.core
-
Contains the core classes of the modular validation framework.
- be.sddevelopment.validation.dsl - package be.sddevelopment.validation.dsl
-
Contains the domain-specific language classes (DSL) for the validation framework.
C
- check(T) - Method in class be.sddevelopment.validation.core.ModularRuleset
- Checks - Class in be.sddevelopment.validation.core
- constrain(T) - Static method in class be.sddevelopment.validation.core.Constrained
- constrain(T) - Method in class be.sddevelopment.validation.core.ModularRuleset
- constrain(T, ModularRuleset<T>) - Static method in class be.sddevelopment.validation.core.Constrained
- Constrained<T> - Class in be.sddevelopment.validation.core
-
Represents the result of evaluating an object of any type.
- Constraint<T> - Record Class in be.sddevelopment.validation.core
-
Represents a single constraint / validation rule, which can be applied to an object of type T.
- Constraint(Predicate<T>, String) - Constructor for record class be.sddevelopment.validation.core.Constraint
-
Creates an instance of a
Constraint
record class. - Constraint.ConstraintBuilder<T> - Class in be.sddevelopment.validation.core
-
Builder for the
Constraint
class, enabling a more readable code style. - Constraints - Class in be.sddevelopment.validation.core
-
Utility class, used allow for a more straight-forward configuration of
ModularRuleset
constructs - CsvFile - Record Class in be.sddevelopment.validation.dsl
-
Represents a CSV file with a header and data lines, to be used as an input for a
ModularRuleset
. - CsvFile(String, Vector<String>, Vector<Vector<String>>) - Constructor for record class be.sddevelopment.validation.dsl.CsvFile
-
Creates an instance of a
CsvFile
record class.
D
- describedAs(String) - Method in class be.sddevelopment.validation.core.Constraint.ConstraintBuilder
- description() - Method in record class be.sddevelopment.validation.core.Constraint
-
Returns the value of the
description
record component. - details() - Method in class be.sddevelopment.validation.core.Rationale
- done() - Method in class be.sddevelopment.validation.core.Constraint.ConstraintBuilder
- done() - Method in class be.sddevelopment.validation.core.ModularRuleset.ModularValidatorBuilder
E
- emptyRationale() - Static method in class be.sddevelopment.validation.core.Rationale
- emptyRules() - Static method in class be.sddevelopment.validation.core.ModularRuleset
- equals(Object) - Method in record class be.sddevelopment.validation.core.Constraint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.sddevelopment.validation.core.Reason
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.sddevelopment.validation.dsl.CsvFile
-
Indicates whether some other object is "equal to" this one.
- errors() - Method in exception class be.sddevelopment.validation.core.InvalidObjectException
- Evaluation - Enum Class in be.sddevelopment.validation.core
- extract(Function<T, R>) - Method in class be.sddevelopment.validation.core.Constrained
F
- FAIL - Enum constant in enum class be.sddevelopment.validation.core.Evaluation
- failed(String) - Static method in record class be.sddevelopment.validation.core.Reason
- feedback(String) - Method in class be.sddevelopment.validation.core.Constrained
- fileIdentifier() - Method in record class be.sddevelopment.validation.dsl.CsvFile
-
Returns the value of the
fileIdentifier
record component. - FileValidatorParser - Class in be.sddevelopment.validation.dsl
- fromFile(Path) - Static method in record class be.sddevelopment.validation.dsl.CsvFile
- fromLines(List<String>) - Static method in record class be.sddevelopment.validation.dsl.CsvFile
- fromSpecification(Path) - Static method in class be.sddevelopment.validation.dsl.FileValidatorParser
G
- guard() - Method in class be.sddevelopment.validation.core.Constrained
H
- hashCode() - Method in record class be.sddevelopment.validation.core.Constraint
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.sddevelopment.validation.core.Reason
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.sddevelopment.validation.dsl.CsvFile
-
Returns a hash code value for this object.
- haveNonEmpty(Function<S, String>) - Static method in class be.sddevelopment.validation.core.Checks
- haveNonNullField(Function<S, ?>) - Static method in class be.sddevelopment.validation.core.Checks
- haveNullField(Function<S, ?>) - Static method in class be.sddevelopment.validation.core.Checks
- headerFields() - Method in record class be.sddevelopment.validation.dsl.CsvFile
-
Returns the value of the
headerFields
record component.
I
- ifValid(Consumer<T>) - Method in class be.sddevelopment.validation.core.Constrained
- iHaveSpoken() - Method in class be.sddevelopment.validation.core.ModularRuleset.ModularValidatorBuilder
- InvalidObjectException - Exception Class in be.sddevelopment.validation.core
- InvalidObjectException(String, Rationale) - Constructor for exception class be.sddevelopment.validation.core.InvalidObjectException
- IS_NOT_EMPTY - Static variable in class be.sddevelopment.validation.core.Constraints
- isEmpty() - Method in record class be.sddevelopment.validation.dsl.CsvFile
- isFailing() - Method in class be.sddevelopment.validation.core.Rationale
- isFailing() - Method in record class be.sddevelopment.validation.core.Reason
- isNotEmpty() - Static method in class be.sddevelopment.validation.core.Constraints
- isPassing() - Method in class be.sddevelopment.validation.core.Rationale
- isPassing() - Method in record class be.sddevelopment.validation.core.Reason
- isValid() - Method in class be.sddevelopment.validation.core.Constrained
L
- line(int) - Method in record class be.sddevelopment.validation.dsl.CsvFile
- lines() - Method in record class be.sddevelopment.validation.dsl.CsvFile
-
Returns the value of the
lines
record component.
M
- mayNot(Predicate<S>, String) - Method in class be.sddevelopment.validation.core.ModularRuleset.ModularValidatorBuilder
- ModularRuleset<T> - Class in be.sddevelopment.validation.core
- ModularRuleset.ModularValidatorBuilder<S> - Class in be.sddevelopment.validation.core
- must(Constraint<S>) - Method in class be.sddevelopment.validation.core.ModularRuleset.ModularValidatorBuilder
- must(Predicate<S>, String) - Method in class be.sddevelopment.validation.core.ModularRuleset.ModularValidatorBuilder
O
- of(T, ModularRuleset<T>) - Static method in class be.sddevelopment.validation.core.Constrained
P
- PASS - Enum constant in enum class be.sddevelopment.validation.core.Evaluation
- passed(String) - Static method in record class be.sddevelopment.validation.core.Reason
Q
- quickCheck(T) - Method in class be.sddevelopment.validation.core.ModularRuleset
R
- rationale() - Method in class be.sddevelopment.validation.core.Constrained
- rationale() - Method in record class be.sddevelopment.validation.core.Reason
-
Returns the value of the
rationale
record component. - Rationale - Class in be.sddevelopment.validation.core
- rationaleWithReasons(List<Reason>) - Static method in class be.sddevelopment.validation.core.Rationale
- Reason - Record Class in be.sddevelopment.validation.core
-
Reason class.
- Reason(String, Evaluation) - Constructor for record class be.sddevelopment.validation.core.Reason
-
Creates an instance of a
Reason
record class. - requires(Predicate<T>) - Method in class be.sddevelopment.validation.core.Constraint.ConstraintBuilder
- result() - Method in record class be.sddevelopment.validation.core.Reason
-
Returns the value of the
result
record component. - rule() - Method in record class be.sddevelopment.validation.core.Constraint
-
Returns the value of the
rule
record component. - ruleFor(Class<S>) - Static method in record class be.sddevelopment.validation.core.Constraint
-
Factory method to create a new
Constraint.ConstraintBuilder
instance.
S
- SpecificationParserException - Exception Class in be.sddevelopment.validation.dsl
-
Exception thrown when an error occurs while parsing a validation specification.
- SpecificationParserException(String) - Constructor for exception class be.sddevelopment.validation.dsl.SpecificationParserException
- SpecificationParserException(String, Throwable) - Constructor for exception class be.sddevelopment.validation.dsl.SpecificationParserException
T
- toBuilder() - Method in class be.sddevelopment.validation.core.ModularRuleset
- toString() - Method in record class be.sddevelopment.validation.core.Constraint
-
Returns a string representation of this record class.
- toString() - Method in record class be.sddevelopment.validation.core.Reason
-
Returns a string representation of this record class.
- toString() - Method in record class be.sddevelopment.validation.dsl.CsvFile
-
Returns a string representation of this record class.
V
- valueOf(String) - Static method in enum class be.sddevelopment.validation.core.Evaluation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class be.sddevelopment.validation.core.Evaluation
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withRules(List<Constraint<S>>) - Method in class be.sddevelopment.validation.core.ModularRuleset.ModularValidatorBuilder
All Classes and Interfaces|All Packages|Serialized Form