Enum SearchHit.TypeEnum

java.lang.Object
java.lang.Enum<SearchHit.TypeEnum>
ai.shipeasy.admin.model.SearchHit.TypeEnum
All Implemented Interfaces:
Serializable, Comparable<SearchHit.TypeEnum>, java.lang.constant.Constable
Enclosing class:
SearchHit

public static enum SearchHit.TypeEnum extends Enum<SearchHit.TypeEnum>
Resource family — drives the result group + icon in the palette. (`member` hits are surfaced first.)
  • Enum Constant Details

  • Method Details

    • values

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

      public static SearchHit.TypeEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SearchHit.TypeEnum>
    • fromValue

      public static SearchHit.TypeEnum fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException