public interface Assertion
| Modifier and Type | Field and Description |
|---|---|
static Assertion |
UNDEFINED_ASSERTION
An assertion that always return UNDEFINED for matches and that creates a match all query.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createIndexQuery(IndexQueryFactory<T> factory)
Returns an index query appropriate for the provided attribute
value assertion.
|
ConditionResult |
matches(ByteSequence normalizedAttributeValue)
Indicates whether the provided attribute value should be considered a
match for this assertion value according to the matching rule.
|
static final Assertion UNDEFINED_ASSERTION
ConditionResult matches(ByteSequence normalizedAttributeValue)
normalizedAttributeValue - The normalized attribute value.TRUE if the attribute value should be considered a match
for the provided assertion value, FALSE if it does not
match, or UNDEFINED if the result is undefined.<T> T createIndexQuery(IndexQueryFactory<T> factory) throws DecodeException
T - The type of index query created by the factory.factory - The index query factory which should be used to
construct the index query.DecodeException - If an error occurs while generating the index query.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.