Enum-Klasse CatalogType

java.lang.Object
java.lang.Enum<CatalogType>
net.dzultra.jsa.catalogs.CatalogType
Alle implementierten Schnittstellen:
Serializable, Comparable<CatalogType>, Constable

public enum CatalogType extends Enum<CatalogType>
Represents the available Scryfall catalog endpoints.

Each enum constant maps to a specific catalog resource path used to retrieve predefined lists of data such as card names, types, keywords, and other structured reference values from the Scryfall API.

  • Enum-Konstanten - Details

    • CARD_NAMES

      public static final CatalogType CARD_NAMES
      Catalog of all card names.
    • ARTIST_NAMES

      public static final CatalogType ARTIST_NAMES
      Catalog of all artist names.
    • WORD_BANK

      public static final CatalogType WORD_BANK
      Catalog of words used in card text (word bank).
    • SUPERTYPES

      public static final CatalogType SUPERTYPES
      Catalog of Magic supertype values.
    • CARD_TYPES

      public static final CatalogType CARD_TYPES
      Catalog of card types.
    • ARTIFACT_TYPES

      public static final CatalogType ARTIFACT_TYPES
      Catalog of artifact subtypes.
    • BATTLE_TYPES

      public static final CatalogType BATTLE_TYPES
      Catalog of battle subtypes.
    • CREATURE_TYPES

      public static final CatalogType CREATURE_TYPES
      Catalog of creature subtypes.
    • ENCHANTMENT_TYPES

      public static final CatalogType ENCHANTMENT_TYPES
      Catalog of enchantment subtypes.
    • LAND_TYPES

      public static final CatalogType LAND_TYPES
      Catalog of land subtypes.
    • PLANESWALKER_TYPES

      public static final CatalogType PLANESWALKER_TYPES
      Catalog of planeswalker subtypes.
    • SPELL_TYPES

      public static final CatalogType SPELL_TYPES
      Catalog of spell-related types.
    • POWERS

      public static final CatalogType POWERS
      Catalog of power values used on cards.
    • TOUGHNESSES

      public static final CatalogType TOUGHNESSES
      Catalog of toughness values used on cards.
    • LOYALTIES

      public static final CatalogType LOYALTIES
      Catalog of loyalty values used on planeswalkers.
    • KEYWORD_ABILITIES

      public static final CatalogType KEYWORD_ABILITIES
      Catalog of keyword abilities.
    • KEYWORD_ACTIONS

      public static final CatalogType KEYWORD_ACTIONS
      Catalog of keyword actions.
    • ABILITY_WORDS

      public static final CatalogType ABILITY_WORDS
      Catalog of ability words used in rules text.
    • FLAVOR_WORDS

      public static final CatalogType FLAVOR_WORDS
      Catalog of flavor words used in card text.
    • WATERMARKS

      public static final CatalogType WATERMARKS
      Catalog of watermark identifiers.
  • Methodendetails

    • values

      public static CatalogType[] values()
      Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
    • valueOf

      public static CatalogType valueOf(String name)
      Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird
    • getEndpoint

      public String getEndpoint()
      Returns the API endpoint path for this catalog type.
      Gibt zurück:
      the catalog endpoint string