public static enum Owner.Type extends java.lang.Enum<Owner.Type>
| Enum Constant and Description |
|---|
GROUP
The type of the owner is a group.
|
USER
The type of the owner is a user.
|
| Modifier and Type | Method and Description |
|---|---|
static Owner.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Owner.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Owner.Type USER
public static final Owner.Type GROUP
public static Owner.Type[] values()
for (Owner.Type c : Owner.Type.values()) System.out.println(c);
public static Owner.Type 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 null