Package google.registry.ui
Enum Class ConsoleDebug
- All Implemented Interfaces:
Serializable
,Comparable<ConsoleDebug>
,Constable
Enum defining which JS/CSS files get rendered in a soy templates.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Dagger module for ConsoleDebug.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUse debug compiled CSS and JS, where symbols are only slightly mangled.Use compiled CSS and JS.Use debug compiled CSS and raw JS from internal source code dependency-managed directory structure.Don't use any CSS or JS. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsoleDebug
get()
Returns value configured by system property#PROPERTY
.static void
set
(ConsoleDebug value) Sets the globalConsoleDebug
state.static ConsoleDebug
Returns the enum constant of this class with the specified name.static ConsoleDebug[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCTION
Use compiled CSS and JS. -
DEBUG
Use debug compiled CSS and JS, where symbols are only slightly mangled. -
RAW
Use debug compiled CSS and raw JS from internal source code dependency-managed directory structure. -
TEST
Don't use any CSS or JS. This is used by JSTD unit tests.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
get
Returns value configured by system property#PROPERTY
. -
set
Sets the globalConsoleDebug
state.
-