Enum Class ConsoleDebug

java.lang.Object
java.lang.Enum<ConsoleDebug>
google.registry.ui.ConsoleDebug
All Implemented Interfaces:
Serializable, Comparable<ConsoleDebug>, Constable

public enum ConsoleDebug extends Enum<ConsoleDebug>
Enum defining which JS/CSS files get rendered in a soy templates.
  • Enum Constant Details

    • PRODUCTION

      public static final ConsoleDebug PRODUCTION
      Use compiled CSS and JS.
    • DEBUG

      public static final ConsoleDebug DEBUG
      Use debug compiled CSS and JS, where symbols are only slightly mangled.
    • RAW

      public static final ConsoleDebug RAW
      Use debug compiled CSS and raw JS from internal source code dependency-managed directory structure.
    • TEST

      public static final ConsoleDebug TEST
      Don't use any CSS or JS. This is used by JSTD unit tests.
  • Method Details

    • values

      public static ConsoleDebug[] 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 ConsoleDebug 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
    • get

      public static ConsoleDebug get()
      Returns value configured by system property #PROPERTY.
    • set

      public static void set(ConsoleDebug value)
      Sets the global ConsoleDebug state.