T - type of inputpublic class SpringExpressionPredicate<T> extends AbstractSpringExpressionEvaluator<T,Boolean> implements com.google.common.base.Predicate<T>
| Constructor and Description |
|---|
SpringExpressionPredicate(String expression)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(T input) |
void |
setReturnOnError(boolean flag)
Set value to return if an error occurs (default is false).
|
evaluate, getCustomObject, getInputType, getOutputType, prepareContext, setCustomObject, setHideExceptions, setInputType, setOutputType, setReturnOnErrorpublic SpringExpressionPredicate(@Nonnull @NotEmpty @ParameterName(name="expression") String expression)
expression - the expression to evaluateCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.