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
,ToXContent
,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
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExceptRoleMapperExpression(RoleMapperExpression expression)
-
Method Summary
Modifier and Type Method Description XContentBuilder
toXContent(XContentBuilder builder, 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 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Overrides:
toXContent
in classCompositeRoleMapperExpression
- Throws:
java.io.IOException
-