org.opensaml.xml.security
Interface EvaluableCriteria<T>
- Type Parameters:
T
- the type of object which may be evaluated
- All Superinterfaces:
- Criteria
- All Known Subinterfaces:
- EvaluableCredentialCriteria
public interface EvaluableCriteria<T>
- extends Criteria
Interface for criteria which are capable of evaluating a target of a particular type.
Method Summary |
java.lang.Boolean |
evaluate(T target)
Evaluate the target. |
evaluate
java.lang.Boolean evaluate(T target)
- Evaluate the target.
The result of evaluation is one of the following values:
Boolean.TRUE
if the target satisfies the criteria
Boolean.FALSE
if the target does not satisfy criteria
null
if the target can not be evaluated against the criteria
- Parameters:
target
- the object to be evaluated
- Returns:
- the result of evaluation