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 totrue
if-and-only-if its delegate expression evaluate tofalse
. 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
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Constructor Detail
-
ExceptRoleMapperExpression
public ExceptRoleMapperExpression(RoleMapperExpression expression)
-
-
Method Detail
-
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
-
-