Package net.shibboleth.utilities.java.support.logic
Classes that represent basic first order logic concepts.
-
Interface Summary Interface Description Predicate<T> A convenience interface to allow our own classes to implement the JavaPredicate
and log any calls to thePredicate.apply(Object)
method as deprecated. -
Class Summary Class Description AbstractTriStatePredicate<T> A basePredicate
implementation which provides support for cases where the predicate can not meaningfully evaluate the input.AllMatchPredicate<T> AnyMatchPredicate<T> BiFunctionSupport Helper class for constructingBiFunction
s in a Spring-friendly manner.BiPredicateSupport Helper class for constructing BiPredicates in a Spring-friendly manner.CaseInsensitiveStringMatchPredicate APredicate
that checks that a given input string matches a target string while ignoring case.Constraint A helper class for evaluating certain constraints.FunctionSupport Helper class for constructing functions that are fully generic, in contrast to the broken, Object-bound types Guava can build.PredicateDrivenFunction<T,U> PredicateSupport Helper class for constructing predicates.RegexPredicate APredicate
that checks that a given input string matches a regular expression.ScriptedBiConsumer<T,U> ABiConsumer
which calls out to a supplied script.ScriptedBiFunction<T,U,V> ABiFunction
which calls out to a supplied script.ScriptedBiPredicate<T,U> ABiPredicate
which calls out to a supplied script.ScriptedConsumer<T> AConsumer
which calls out to a supplied script.ScriptedFunction<T,U> AFunction
which calls out to a supplied script.ScriptedPredicate<T> APredicate
which calls out to a supplied script.StrategyIndirectedPredicate<T1,T2> Generic predicate that checks a candidateObject
returned by a lookup function against an injected predicate.TransformAndCheckFunction<T> AFunction
that receives an input, runs it through a pre-processor and checks the result against a constraint.TrimOrNullStringFunction AFunction
that appliesStringSupport.trimOrNull(String)
to a given input string. -
Exception Summary Exception Description ConstraintViolationException An exception that represents the violation of a constraint.