public enum GroupGrantee extends Enum<GroupGrantee> implements Grantee
| 枚举常量和说明 | 
|---|
AllUsers
This group means all users could get the permission of (Bucket or
 object). 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
String | 
getIdentifier()
The group's Id. 
 | 
void | 
setIdentifier(String id)
Not supported. 
 | 
static GroupGrantee | 
valueOf(String name)
返回带有指定名称的该类型的枚举常量。 
 | 
static GroupGrantee[] | 
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。 
 | 
public static final GroupGrantee AllUsers
public static GroupGrantee[] values()
for (GroupGrantee c : GroupGrantee.values()) System.out.println(c);
public static GroupGrantee valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getIdentifier()
getIdentifier 在接口中 Granteepublic void setIdentifier(String id)
setIdentifier 在接口中 Granteeid - The grantee's ID.Copyright © 2019. All Rights Reserved.