public enum InteractType extends Enum<InteractType>
Modifier and Type | Field and Description |
---|---|
static Map<InteractType,Class<? extends InteractAction>> |
actions |
Modifier and Type | Method and Description |
---|---|
Class<? extends InteractAction> |
getActionClass() |
static InteractType |
getByName(String name) |
static String |
getStringList() |
static InteractType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractType COMMAND
public static final InteractType TEXT
public static final InteractType ITEM
public static final InteractType EXP
public static final Map<InteractType,Class<? extends InteractAction>> actions
public static InteractType[] values()
for (InteractType c : InteractType.values()) System.out.println(c);
public static InteractType 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 Class<? extends InteractAction> getActionClass()
public static String getStringList()
public static InteractType getByName(String name)
Copyright © 2014. All rights reserved.