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