java.lang.Object
java.lang.Enum<PromptableApi>
de.seggebaeing.sqlanalyzer.logic.promptable.util.PromptableApi
All Implemented Interfaces:
Serializable, Comparable<PromptableApi>, Constable

public enum PromptableApi extends Enum<PromptableApi>
Enumeration of supported Promptable API providers and dummy implementations. Each constant defines a display name for UI purposes and whether it represents a dummy (simulated) implementation or a real API-backed one.
  • Enum Constant Details

  • Method Details

    • values

      public static PromptableApi[] 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 PromptableApi 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
    • toString

      public String toString()
      Returns the human-readable display name of this PromptableApi.
      Overrides:
      toString in class Enum<PromptableApi>
      Returns:
      the display name of the API
    • isDummy

      public boolean isDummy()
      Indicates whether this PromptableApi represents a dummy implementation used for testing or simulation purposes.
      Returns:
      true if this API is a dummy implementation, false otherwise