public enum JsOutputOption extends Enum<JsOutputOption>
Enum Constant and Description |
---|
DETAILED
Formatted output with huge but unambiguous identifiers.
|
OBFUSCATED
Compressed output, using tiny unreadable identifiers (default).
|
PRETTY
Formatted output with human-readable identifiers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldMinimize() |
static JsOutputOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsOutputOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsOutputOption DETAILED
public static final JsOutputOption OBFUSCATED
public static final JsOutputOption PRETTY
public static JsOutputOption[] values()
for (JsOutputOption c : JsOutputOption.values()) System.out.println(c);
public static JsOutputOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean shouldMinimize()
Copyright © 2018. All rights reserved.