diff --git a/docs/apidocs/allclasses-index.html b/docs/apidocs/allclasses-index.html index d6a11aa..324070a 100644 --- a/docs/apidocs/allclasses-index.html +++ b/docs/apidocs/allclasses-index.html @@ -1,52 +1,55 @@
Summary:
Detail:
static <S> Predicate<S>
haveNonEmpty(Function<S,String> extractor)
haveNonNullField(Function<S,?> extractor)
haveNullField(Function<S,?> extractor)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Represents the result of evaluating an object of any type. The result of said evaluation is represented by a Rationale. @@ -106,6 +106,7 @@
Rationale
<R> Constrained<R>
extract(Function<T,R> extractor)
void
feedback(String errorMessage)
guard()
ifValid(Consumer<T> consumer)
boolean
isValid()
InvalidObjectException
T
Constraint
Constraint.ConstraintBuilder<T>
describedAs(String description)
Constraint<T>
done()
requires(Predicate<T> predicate)
description
Constraint(Predicate<T> rule, - String description)
Constraint(Predicate<T> rule, + String description)
Reason
applyTo(T toTest)
String
description()
equals(Object o)
Predicate<T>
rule()
rule
static <S> Constraint.ConstraintBuilder<S>
ruleFor(Class<S> ignoredClass)
Constraint.ConstraintBuilder
final String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Objects::equals(Object,Object)
equals
Record
o
true
false
hashCode
toString
Utility class, used allow for a more straight-forward configuration of ModularRuleset constructs
ModularRuleset
static final Constraint<String>
IS_NOT_EMPTY
static Constraint<String>
isNotEmpty()
Serializable
Comparable<Evaluation>
Constable
Enum.EnumDesc<E extends Enum<E>>
static Evaluation
valueOf(String name)
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
IllegalArgumentException
NullPointerException
InvalidObjectException(String errorMessage, +InvalidObjectException(String errorMessage, Rationale rationale)
InvalidObjectException(String errorMessage, Rationale rationale)
List<String>
errors()
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
ModularRuleset<T>
iHaveSpoken()
ModularRuleset.ModularValidatorBuilder<S>
must(Constraint<S> rule)
mayNot(Predicate<S> interdiction, + String description)
must(Predicate<S> requirement, - String description)
withRules(List<Constraint<S>> rules)
must(Predicate<S> requirement, + String description)
assess(T toValidate)
static <S> ModularRuleset.ModularValidatorBuilder<S>
aValid(Class<S> ignoredClazz)
check(T data)
add(Reason reason)
List<Reason>
details()
static Rationale
isPassing()
rationaleWithReasons(List<Reason> reasons)
Reason class.
Reason(String rationale, +Reason(String rationale, Evaluation result) Creates an instance of a Reason record class. @@ -137,12 +143,12 @@ Method Summary Method Description final boolean -equals(Object o) +equals(Object o) Indicates whether some other object is "equal to" this one. static Reason -failed(String rationale) +failed(String rationale) final int hashCode() @@ -156,9 +162,9 @@ Method Summary isPassing() static Reason -passed(String rationale) +passed(String rationale) -String +String rationale() Returns the value of the rationale record component. @@ -168,7 +174,7 @@ Method Summary Returns the value of the result record component. -final String +final String toString() Returns a string representation of this record class. @@ -177,8 +183,8 @@ Method Summary -Methods inherited from class java.lang.Object -clone, finalize, getClass, notify, notifyAll, wait, wait, wait +Methods inherited from class java.lang.Object +clone, finalize, getClass, notify, notifyAll, wait, wait, wait @@ -193,7 +199,8 @@ Constructor Details Reason -public Reason(String rationale, + +public Reason(String rationale, Evaluation result) Creates an instance of a Reason record class. @@ -201,6 +208,7 @@ Reason rationale - the value for the rationale record component result - the value for the result record component + @@ -214,88 +222,106 @@ Method Details passed -public static Reason passed(String rationale) + +public static Reason passed(String rationale) + failed -public static Reason failed(String rationale) + +public static Reason failed(String rationale) + isPassing + public boolean isPassing() + isFailing + public boolean isFailing() + toString -public final String toString() + +public final String toString() Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. Specified by: -toString in class Record +toString in class Record Returns: a string representation of this object + hashCode + public final int hashCode() Returns a hash code value for this object. The value is derived from the hash code of each of the record components. Specified by: -hashCode in class Record +hashCode in class Record Returns: a hash code value for this object + equals -public final boolean equals(Object o) -Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object). + +public final boolean equals(Object o) +Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object). Specified by: -equals in class Record +equals in class Record Parameters: o - the object with which to compare Returns: true if this object is the same as the o argument; false otherwise. + rationale -public String rationale() + +public String rationale() Returns the value of the rationale record component. Returns: the value of the rationale record component + result + public Evaluation result() Returns the value of the result record component. Returns: the value of the result record component + @@ -304,12 +330,11 @@ result - - +
Reason(String rationale, Evaluation result)
final boolean
static Reason
failed(String rationale)
final int
hashCode()
passed(String rationale)
rationale()
rationale
result
constrain(T toValidate)
static <T> Constrained<T>
of(T toConstrain, @@ -86,12 +94,11 @@ Uses of Copyright © 2024 SD Development. All rights reserved. -
Copyright © 2024 SD Development. All rights reserved.
enum
Evaluation
Reason(String rationale, +Reason(String rationale, Evaluation result) Creates an instance of a Reason record class. @@ -94,12 +111,11 @@ Uses of Copyright © 2024 SD Development. All rights reserved. - +
ModularRuleset.ModularValidatorBuilder<T>
toBuilder()
Package:
@@ -77,6 +75,7 @@
These classes are the building blocks of the framework, and are used to create the validation rules.
Help:
You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API. These items can be searched using part or all of the name, optionally using "camelCase" abbreviations, or multiple search terms separated by whitespace. Some examples:
"j.l.obj"
"InpStr"
"math exact long"
Refer to the Javadoc Search Specification for a full description of search features.
Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.
Each documented package, class or interface has its own Use page, which lists packages, classes, interfaces, methods, constructors and fields that use any part of that package, class or interface. Given a class or interface A, its Use page includes subclasses or subinterfaces of A, fields declared as A, methods that return A, methods and constructors with parameters of type A, and subclasses or subinterfaces with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.
+Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. +Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below) + + +Bitstream Vera Fonts Copyright +------------------------------ + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is +a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute the +Font Software, including without limitation the rights to use, copy, merge, +publish, distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to the +following conditions: + +The above copyright and trademark notices and this permission notice shall +be included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional glyphs or characters may be added to the Fonts, only if the fonts +are renamed to names not containing either the words "Bitstream" or the word +"Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream +Vera" names. + +The Font Software may be sold as part of a larger software package but no +copy of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING +ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE +FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font Software +without prior written authorization from the Gnome Foundation or Bitstream +Inc., respectively. For further information, contact: fonts at gnome dot +org. + +Arev Fonts Copyright +------------------------------ + +Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and +associated documentation files (the "Font Software"), to reproduce +and distribute the modifications to the Bitstream Vera Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to +the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Tavmjong Bah" or the word "Arev". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Tavmjong Bah Arev" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the name of Tavmjong Bah shall not +be used in advertising or otherwise to promote the sale, use or other +dealings in this Font Software without prior written authorization +from Tavmjong Bah. For further information, contact: tavmjong @ free +. fr. + +TeX Gyre DJV Math +----------------- +Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. + +Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski +(on behalf of TeX users groups) are in public domain. + +Letters imported from Euler Fraktur from AMSfonts are (c) American +Mathematical Society (see below). +Bitstream Vera Fonts Copyright +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera +is a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated +documentation +files (the "Font Software"), to reproduce and distribute the Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, +and/or sell copies of the Font Software, and to permit persons to whom +the Font Software is furnished to do so, subject to the following +conditions: + +The above copyright and trademark notices and this permission notice +shall be +included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional +glyphs or characters may be added to the Fonts, only if the fonts are +renamed +to names not containing either the words "Bitstream" or the word "Vera". + +This License becomes null and void to the extent applicable to Fonts or +Font Software +that has been modified and is distributed under the "Bitstream Vera" +names. + +The Font Software may be sold as part of a larger software package but +no copy +of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, +SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN +ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR +INABILITY TO USE +THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. +Except as contained in this notice, the names of GNOME, the GNOME +Foundation, +and Bitstream Inc., shall not be used in advertising or otherwise to promote +the sale, use or other dealings in this Font Software without prior written +authorization from the GNOME Foundation or Bitstream Inc., respectively. +For further information, contact: fonts at gnome dot org. + +AMSFonts (v. 2.2) copyright + +The PostScript Type 1 implementation of the AMSFonts produced by and +previously distributed by Blue Sky Research and Y&Y, Inc. are now freely +available for general use. This has been accomplished through the +cooperation +of a consortium of scientific publishers with Blue Sky Research and Y&Y. +Members of this consortium include: + +Elsevier Science IBM Corporation Society for Industrial and Applied +Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS) + +In order to assure the authenticity of these fonts, copyright will be +held by +the American Mathematical Society. This is not meant to restrict in any way +the legitimate use of the fonts, such as (but not limited to) electronic +distribution of documents containing these fonts, inclusion of these fonts +into other public domain or commercial font collections or computer +applications, use of the outline data to create derivative fonts and/or +faces, etc. However, the AMS does require that the AMS copyright notice be +removed from any derivative versions of the fonts which have been altered in +any way. In addition, to ensure the fidelity of TeX documents using Computer +Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces, +has requested that any alterations which yield different font metrics be +given a different name. + +
The help page provides an introduction to the scope and syntax of JavaDoc search.
You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.
The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.
Redirect to first result
Loading search index...
List<String> errors