Class ResourceQuery.AttributesEnumeration
Object
se.curity.identityserver.sdk.data.query.ResourceQuery.AttributesEnumeration
- Direct Known Subclasses:
ResourceQuery.Exclusions,ResourceQuery.Inclusions
- Enclosing class:
- ResourceQuery
A query for specific attributes.
It might represent
ResourceQuery.Inclusions or ResourceQuery.Exclusions.
This type must not be sub-typed by any other types. Attempting to override it will cause a
IllegalStateException when an instance of the illegal type is instantiated.
-
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract booleankeepAttribute(String key) toString()
-
Method Details
-
getAttributes
- Returns:
- the attributes in this enumeration.
-
keepAttribute
- Parameters:
key- the attribute key. Nested attributes are addressed using the 'dot' notation.- Returns:
- true if the given attribute should be kept in the results, false to remove it.
-
isNeutral
public abstract boolean isNeutral()- Returns:
- true if this enumeration should cause no change in the results.
-
toString
-