public static enum ProtectAction.Type extends Enum<ProtectAction.Type>
| Enum Constant and Description |
|---|
DROP |
FRIEND |
LOCK |
PROTECT |
UNFRIEND |
UNLOCK |
UNPROTECT |
| Modifier and Type | Method and Description |
|---|---|
static ProtectAction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectAction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectAction.Type PROTECT
public static final ProtectAction.Type UNPROTECT
public static final ProtectAction.Type LOCK
public static final ProtectAction.Type UNLOCK
public static final ProtectAction.Type FRIEND
public static final ProtectAction.Type UNFRIEND
public static final ProtectAction.Type DROP
public static ProtectAction.Type[] values()
for (ProtectAction.Type c : ProtectAction.Type.values()) System.out.println(c);
public static ProtectAction.Type 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 nullCopyright © 2015. All rights reserved.