Class ExceptRoleMapperExpression
java.lang.Object
org.elasticsearch.client.security.support.expressiondsl.expressions.CompositeRoleMapperExpression
org.elasticsearch.client.security.support.expressiondsl.expressions.ExceptRoleMapperExpression
- All Implemented Interfaces:
RoleMapperExpression
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public final class ExceptRoleMapperExpression extends CompositeRoleMapperExpression
A negating expression. That is, this expression evaluates to
true
if-and-only-if
its delegate expression evaluate to false
.
Syntactically, except expressions are intended to be children of all
expressions (AllRoleMapperExpression
).-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExceptRoleMapperExpression(RoleMapperExpression expression)
-
Method Summary
Modifier and Type Method Description org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class org.elasticsearch.client.security.support.expressiondsl.expressions.CompositeRoleMapperExpression
equals, getElements, getName, hashCode
-
Constructor Details
-
Method Details
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Overrides:
toXContent
in classCompositeRoleMapperExpression
- Throws:
java.io.IOException
-