public enum GroupGrantee extends Enum<GroupGrantee> implements Grantee
| Enum Constant and Description |
|---|
AllUsers |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
Gets the group grantee's URI.
|
String |
getTypeIdentifier()
Returns the identifier for the type of this grant, to be used when
specifying grants in the header of a request.
|
static GroupGrantee |
parseGroupGrantee(String groupUri) |
void |
setIdentifier(String id)
Sets the identifier for this grantee.
|
String |
toString() |
static GroupGrantee |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupGrantee[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTypeIdentifier()
GranteegetTypeIdentifier in interface Granteepublic String getIdentifier()
getIdentifier in interface GranteeGrantee.setIdentifier(String)public String toString()
toString in class Enum<GroupGrantee>public static GroupGrantee parseGroupGrantee(String groupUri)
public void setIdentifier(String id)
GranteeGrantee.setIdentifier in interface Granteeid - The identifier for this grantee.Grantee.getIdentifier()Copyright © 2023. All rights reserved.