Package com.google.common.css
Enum JobDescription.OutputFormat
- java.lang.Object
-
- java.lang.Enum<JobDescription.OutputFormat>
-
- com.google.common.css.JobDescription.OutputFormat
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JobDescription.OutputFormat>
- Enclosing class:
- JobDescription
public static enum JobDescription.OutputFormat extends java.lang.Enum<JobDescription.OutputFormat>
The output format.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPRESSEDPrints a compact representation of the compiled CSS.DEBUGPretty-prints the initial parse tree built from the input.PRETTY_PRINTEDPretty-prints the compiled CSS.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobDescription.OutputFormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JobDescription.OutputFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBUG
public static final JobDescription.OutputFormat DEBUG
Pretty-prints the initial parse tree built from the input.
-
COMPRESSED
public static final JobDescription.OutputFormat COMPRESSED
Prints a compact representation of the compiled CSS.
-
PRETTY_PRINTED
public static final JobDescription.OutputFormat PRETTY_PRINTED
Pretty-prints the compiled CSS.
-
-
Method Detail
-
values
public static JobDescription.OutputFormat[] 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 (JobDescription.OutputFormat c : JobDescription.OutputFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobDescription.OutputFormat valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-