Package com.google.javascript.jscomp
Enum AbstractCommandLineRunner.JsSourceType
- java.lang.Object
-
- java.lang.Enum<AbstractCommandLineRunner.JsSourceType>
-
- com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractCommandLineRunner.JsSourceType>
- Enclosing class:
- AbstractCommandLineRunner<A extends Compiler,B extends CompilerOptions>
@GwtIncompatible("Unnecessary") protected static enum AbstractCommandLineRunner.JsSourceType extends java.lang.Enum<AbstractCommandLineRunner.JsSourceType>
Flag types for JavaScript source files.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractCommandLineRunner.JsSourceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractCommandLineRunner.JsSourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERN
public static final AbstractCommandLineRunner.JsSourceType EXTERN
-
JS
public static final AbstractCommandLineRunner.JsSourceType JS
-
JS_ZIP
public static final AbstractCommandLineRunner.JsSourceType JS_ZIP
-
WEAKDEP
public static final AbstractCommandLineRunner.JsSourceType WEAKDEP
-
IJS
public static final AbstractCommandLineRunner.JsSourceType IJS
-
-
Method Detail
-
values
public static AbstractCommandLineRunner.JsSourceType[] 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 (AbstractCommandLineRunner.JsSourceType c : AbstractCommandLineRunner.JsSourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractCommandLineRunner.JsSourceType 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
-
-