Module org.elasticsearch.xcore
Class RoleDescriptor.Restriction
java.lang.Object
org.elasticsearch.xpack.core.security.authz.RoleDescriptor.Restriction
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
RoleDescriptor
public static class RoleDescriptor.Restriction
extends Object
implements Writeable, ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]inthashCode()booleanbooleanisEmpty()static RoleDescriptor.Restrictionparse(String roleName, XContentParser parser) toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NONE
-
-
Constructor Details
-
Restriction
-
Restriction
- Throws:
IOException
-
-
Method Details
-
hasWorkflows
public boolean hasWorkflows() -
getWorkflows
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
toString
-
parse
public static RoleDescriptor.Restriction parse(String roleName, XContentParser parser) throws IOException - Throws:
IOException
-