public enum GroupGrantee extends Enum<GroupGrantee> implements Grantee
Enum Constant and Description |
---|
AllUsers |
AuthenticatedUsers |
LogDelivery |
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier() |
String |
getTypeIdentifier() |
static GroupGrantee |
parseGroupGrantee(String groupUri) |
void |
setIdentifier(String id) |
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 final GroupGrantee AuthenticatedUsers
public static final GroupGrantee LogDelivery
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 static GroupGrantee parseGroupGrantee(String groupUri)
public String getTypeIdentifier()
getTypeIdentifier
in interface Grantee
public String getIdentifier()
getIdentifier
in interface Grantee
public void setIdentifier(String id)
setIdentifier
in interface Grantee
public String toString()
toString
in class Enum<GroupGrantee>
Copyright © 2010–2017. All rights reserved.