public enum QuestsFilter extends java.lang.Enum<QuestsFilter>
Enum Constant and Description |
---|
ALL
Shows all quests.
|
COMPLETED
Shows completed quests.
|
IN_PROGRESS
Shows in progress quests.
|
REPLAYABLE
Shows completed and replayable quests.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
matches(@NotNull Quest quest)
Returns whether an
Quest matches this filter. |
static QuestsFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuestsFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuestsFilter ALL
public static final QuestsFilter IN_PROGRESS
public static final QuestsFilter COMPLETED
public static final QuestsFilter REPLAYABLE
public static QuestsFilter[] values()
for (QuestsFilter c : QuestsFilter.values()) System.out.println(c);
public static QuestsFilter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null