Module org.elasticsearch.xcore
Class RoleDescriptor.ApplicationResourcePrivileges
java.lang.Object
org.elasticsearch.xpack.core.security.authz.RoleDescriptor.ApplicationResourcePrivileges
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
RoleDescriptor
public static class RoleDescriptor.ApplicationResourcePrivileges
extends Object
implements ToXContentObject, Writeable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested 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
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanString[]String[]inthashCode()toString()toXContent(XContentBuilder builder, ToXContent.Params params) static voidwrite(StreamOutput out, RoleDescriptor.ApplicationResourcePrivileges privileges) 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
-
Constructor Details
-
ApplicationResourcePrivileges
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
builder
-
getApplication
-
getResources
-
getPrivileges
-
toString
-
equals
-
hashCode
public int hashCode() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
write
public static void write(StreamOutput out, RoleDescriptor.ApplicationResourcePrivileges privileges) throws IOException - Throws:
IOException
-