Enum SearchMode

    • Enum Constant Detail

      • BYUUID

        public static final SearchMode BYUUID
        Search by UUID.
      • BYNAME

        public static final SearchMode BYNAME
        Search by name.
      • BYNAMEEXACT

        public static final SearchMode BYNAMEEXACT
        Search by exact name.
      • BYCODEC

        public static final SearchMode BYCODEC
        Search by codec.
      • BYCODECEXACT

        public static final SearchMode BYCODECEXACT
        Search by exact codec.
      • BYCOUNTRY

        public static final SearchMode BYCOUNTRY
        Search by country.
      • BYCOUNTRYEXACT

        public static final SearchMode BYCOUNTRYEXACT
        Search by exact country.
      • BYCOUNTRYCODEEXACT

        public static final SearchMode BYCOUNTRYCODEEXACT
        Search by ISO 3166-1 alpha-2 country code.
      • BYSTATE

        public static final SearchMode BYSTATE
        Search by state.
      • BYSTATEEXACT

        public static final SearchMode BYSTATEEXACT
        Search by exact state.
      • BYLANGUAGE

        public static final SearchMode BYLANGUAGE
        Search by language.
      • BYLANGUAGEEXACT

        public static final SearchMode BYLANGUAGEEXACT
        Search by exact language.
      • BYTAG

        public static final SearchMode BYTAG
        Search by tag.
      • BYTAGEXACT

        public static final SearchMode BYTAGEXACT
        Search by exact tag.
    • Method Detail

      • values

        public static SearchMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SearchMode c : SearchMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchMode 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