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