类 GlobalOperationPrivilege

java.lang.Object
org.easysearch.client.security.user.privileges.GlobalOperationPrivilege
直接已知子类:
ManageApplicationPrivilege

public class GlobalOperationPrivilege
extends java.lang.Object
Represents generic global cluster privileges that can be scoped by categories and then further by operations. The privilege's syntactic and semantic meaning is specific to each category and operation; there is no general definition template. It is not permitted to define different privileges under the same category and operation.
  • 构造器概要

    构造器
    构造器 说明
    GlobalOperationPrivilege​(java.lang.String category, java.lang.String operation, java.util.Map<java.lang.String,​java.lang.Object> privilege)
    Constructs privileges under a specific category and for some operation.
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object o)  
    static GlobalOperationPrivilege fromXContent​(java.lang.String category, java.lang.String operation, org.easysearch.common.xcontent.XContentParser parser)  
    java.lang.String getCategory()  
    java.lang.String getOperation()  
    java.util.Map<java.lang.String,​java.lang.Object> getRaw()  
    int hashCode()  

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • GlobalOperationPrivilege

      public GlobalOperationPrivilege​(java.lang.String category, java.lang.String operation, java.util.Map<java.lang.String,​java.lang.Object> privilege)
      Constructs privileges under a specific category and for some operation. The privilege definition is flexible, it is a Map, and the semantics is bound to the category and operation.
      参数:
      category - The category of the privilege.
      operation - The operation of the privilege.
      privilege - The privilege definition.
  • 方法详细资料

    • getCategory

      public java.lang.String getCategory()
    • getOperation

      public java.lang.String getOperation()
    • getRaw

      public java.util.Map<java.lang.String,​java.lang.Object> getRaw()
    • fromXContent

      public static GlobalOperationPrivilege fromXContent​(java.lang.String category, java.lang.String operation, org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object o)
      覆盖:
      equals 在类中 java.lang.Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object