Enum Class Category

java.lang.Object
java.lang.Enum<Category>
ch.oliumbi.compass.ui.manifest.Category
All Implemented Interfaces:
Translatable<String>, Serializable, Comparable<Category>, Constable

public enum Category extends Enum<Category> implements Translatable<String>
experimental https://developer.mozilla.org/en-US/docs/Web/Manifest/categories
  • Enum Constant Details

    • BOOKS

      public static final Category BOOKS
    • BUSINESS

      public static final Category BUSINESS
    • EDUCATION

      public static final Category EDUCATION
    • ENTERTAINMENT

      public static final Category ENTERTAINMENT
    • FINANCE

      public static final Category FINANCE
    • FITNESS

      public static final Category FITNESS
    • FOOD

      public static final Category FOOD
    • GAMES

      public static final Category GAMES
    • GOVERNMENT

      public static final Category GOVERNMENT
    • HEALTH

      public static final Category HEALTH
    • KIDS

      public static final Category KIDS
    • LIFESTYLE

      public static final Category LIFESTYLE
    • MAGAZINES

      public static final Category MAGAZINES
    • MEDICAL

      public static final Category MEDICAL
    • MUSIC

      public static final Category MUSIC
    • NEWS

      public static final Category NEWS
    • PERSONALIZATION

      public static final Category PERSONALIZATION
    • PHOTO

      public static final Category PHOTO
    • POLITICS

      public static final Category POLITICS
    • PRODUCTIVITY

      public static final Category PRODUCTIVITY
    • SECURITY

      public static final Category SECURITY
    • SHOPPING

      public static final Category SHOPPING
    • SOCIAL

      public static final Category SOCIAL
    • SPORTS

      public static final Category SPORTS
    • TRAVEL

      public static final Category TRAVEL
    • UTILITIES

      public static final Category UTILITIES
    • WEATHER

      public static final Category WEATHER
  • Field Details

    • LOGGER

      public static final org.slf4j.Logger LOGGER
  • Method Details

    • values

      public static Category[] 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 Category 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
    • translate

      public String translate()
      Specified by:
      translate in interface Translatable<String>