public enum EventType extends Enum<EventType>
| Enum Constant and Description |
|---|
ACQUIRE |
BREAK |
DESTROY_WITH |
DISPENSE |
DROP |
INTERACT |
PLACE |
USE |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends BlacklistEvent> |
getEventClass() |
String |
getRuleName() |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType BREAK
public static final EventType PLACE
public static final EventType INTERACT
public static final EventType DISPENSE
public static final EventType DESTROY_WITH
public static final EventType ACQUIRE
public static final EventType DROP
public static final EventType USE
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 BlacklistEvent> getEventClass()
public String getRuleName()
Copyright © 2015. All Rights Reserved.