Enum Class QuestsFilter

java.lang.Object
java.lang.Enum<QuestsFilter>
com.realtime.crossfire.jxclient.items.QuestsFilter
All Implemented Interfaces:
Serializable, Comparable<QuestsFilter>, Constable

public enum QuestsFilter extends Enum<QuestsFilter>
A filter option for the quests view.
  • Enum Constant Details

    • ALL

      public static final QuestsFilter ALL
      Shows all quests.
    • IN_PROGRESS

      public static final QuestsFilter IN_PROGRESS
      Shows in progress quests.
    • COMPLETED

      public static final QuestsFilter COMPLETED
      Shows completed quests.
    • REPLAYABLE

      public static final QuestsFilter REPLAYABLE
      Shows completed and replayable quests.
  • Method Details

    • values

      public static QuestsFilter[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QuestsFilter valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • matches

      public abstract boolean matches(@NotNull @NotNull Quest quest)
      Returns whether an Quest matches this filter.
      Parameters:
      quest - the quest
      Returns:
      whether the item matches