public static enum MonitorCommand.Action extends Enum<MonitorCommand.Action>
Enum Constant and Description |
---|
ADD_TARGET
Add specified target(s).
|
CLEAR_ALL_TARGETS
Clear the entire target list.
|
LIST_TARGETS
List all targeted nicknames.
|
REMOVE_TARGET
Remove specified target(s).
|
STATUS_OUTPUT_ALL
Output status of all targets.
|
Modifier and Type | Method and Description |
---|---|
char |
getCharacter()
Gets the character for this action.
|
static MonitorCommand.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitorCommand.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorCommand.Action ADD_TARGET
public static final MonitorCommand.Action CLEAR_ALL_TARGETS
public static final MonitorCommand.Action LIST_TARGETS
public static final MonitorCommand.Action REMOVE_TARGET
public static final MonitorCommand.Action STATUS_OUTPUT_ALL
public static MonitorCommand.Action[] values()
for (MonitorCommand.Action c : MonitorCommand.Action.values()) System.out.println(c);
public static MonitorCommand.Action 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 char getCharacter()
Copyright © 2013–2021 Kitteh. All rights reserved.