public static enum ModuleMetadata.ModuleType extends java.lang.Enum<ModuleMetadata.ModuleType>
| Enum Constant and Description |
|---|
COMMON_JS |
ES6_MODULE |
GOOG_MODULE
A goog.module that does not declare a legacy namespace.
|
GOOG_PROVIDE |
LEGACY_GOOG_MODULE
A goog.module that declares a legacy namespace with goog.module.declareLegacyNamespace.
|
SCRIPT |
| Modifier and Type | Method and Description |
|---|---|
static ModuleMetadata.ModuleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleMetadata.ModuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleMetadata.ModuleType ES6_MODULE
public static final ModuleMetadata.ModuleType GOOG_PROVIDE
public static final ModuleMetadata.ModuleType GOOG_MODULE
public static final ModuleMetadata.ModuleType LEGACY_GOOG_MODULE
public static final ModuleMetadata.ModuleType COMMON_JS
public static final ModuleMetadata.ModuleType SCRIPT
public static ModuleMetadata.ModuleType[] values()
for (ModuleMetadata.ModuleType c : ModuleMetadata.ModuleType.values()) System.out.println(c);
public static ModuleMetadata.ModuleType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2009-2018 Google. All Rights Reserved.