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