public static enum AlbumACL.PricipalType extends java.lang.Enum<AlbumACL.PricipalType>
Enum Constant and Description |
---|
ONLY_MANAGER |
OPEN |
SPECIFIED |
Modifier and Type | Method and Description |
---|---|
protected static AlbumACL.PricipalType |
parse(java.lang.String pricipal) |
java.lang.String |
toString() |
static AlbumACL.PricipalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlbumACL.PricipalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlbumACL.PricipalType OPEN
public static final AlbumACL.PricipalType ONLY_MANAGER
public static final AlbumACL.PricipalType SPECIFIED
public static AlbumACL.PricipalType[] values()
for (AlbumACL.PricipalType c : AlbumACL.PricipalType.values()) System.out.println(c);
public static AlbumACL.PricipalType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprotected static AlbumACL.PricipalType parse(java.lang.String pricipal)
public java.lang.String toString()
toString
in class java.lang.Enum<AlbumACL.PricipalType>
Copyright ? 2022. All Rights Reserved.