public static enum ModuleMetadataMap.ModuleType extends java.lang.Enum<ModuleMetadataMap.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 | Field and Description |
|---|---|
java.lang.String |
description |
| Modifier and Type | Method and Description |
|---|---|
static ModuleMetadataMap.ModuleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleMetadataMap.ModuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleMetadataMap.ModuleType ES6_MODULE
public static final ModuleMetadataMap.ModuleType GOOG_MODULE
public static final ModuleMetadataMap.ModuleType LEGACY_GOOG_MODULE
public static final ModuleMetadataMap.ModuleType COMMON_JS
public static final ModuleMetadataMap.ModuleType GOOG_PROVIDE
public static final ModuleMetadataMap.ModuleType SCRIPT
public static ModuleMetadataMap.ModuleType[] values()
for (ModuleMetadataMap.ModuleType c : ModuleMetadataMap.ModuleType.values()) System.out.println(c);
public static ModuleMetadataMap.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-2020 Google. All Rights Reserved.