public enum ActionType extends Enum<ActionType>
| Enum Constant and Description |
|---|
ALLOW |
BAN |
DENY |
KICK |
LOG |
NOTIFY |
TELL |
| Modifier and Type | Method and Description |
|---|---|
String |
getActionName() |
abstract Action |
parseInput(Blacklist blacklist,
BlacklistEntry entry) |
static ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType ALLOW
public static final ActionType DENY
public static final ActionType BAN
public static final ActionType KICK
public static final ActionType LOG
public static final ActionType NOTIFY
public static final ActionType TELL
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 abstract Action parseInput(Blacklist blacklist, BlacklistEntry entry)
public String getActionName()
Copyright © 2015. All Rights Reserved.