Class RequestedPrivileges

  • All Implemented Interfaces:
    Serializable, org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

    public class RequestedPrivileges
    extends Object
    implements org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.common.xcontent.ToXContentObject, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • RequestedPrivileges

        public RequestedPrivileges​(org.elasticsearch.common.io.stream.StreamInput in)
                            throws IOException
        Throws:
        IOException
    • Method Detail

      • getClusterPermissions

        public List<String> getClusterPermissions()
      • getExcludedClusterPermissions

        public List<String> getExcludedClusterPermissions()
      • isTotalWildcard

        public boolean isTotalWildcard()
      • writeTo

        public void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)
                     throws IOException
        Specified by:
        writeTo in interface org.elasticsearch.common.io.stream.Writeable
        Throws:
        IOException
      • parse

        public static RequestedPrivileges parse​(com.fasterxml.jackson.databind.JsonNode jsonNode)
                                         throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException
      • parseYaml

        public static RequestedPrivileges parseYaml​(String yaml)
                                             throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException
      • toXContent

        public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder,
                                                                            org.elasticsearch.common.xcontent.ToXContent.Params params)
                                                                     throws IOException
        Specified by:
        toXContent in interface org.elasticsearch.common.xcontent.ToXContent
        Throws:
        IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object