public static enum ModuleLoader.ResolutionMode extends Enum<ModuleLoader.ResolutionMode>
Enum Constant and Description |
---|
BROWSER
Mimics the behavior of MS Edge.
|
LEGACY
Keeps the same behavior the compiler has used historically.
|
NODE
Uses the node module resolution algorithm.
|
Modifier and Type | Method and Description |
---|---|
static ModuleLoader.ResolutionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleLoader.ResolutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleLoader.ResolutionMode BROWSER
public static final ModuleLoader.ResolutionMode LEGACY
public static final ModuleLoader.ResolutionMode NODE
public static ModuleLoader.ResolutionMode[] values()
for (ModuleLoader.ResolutionMode c : ModuleLoader.ResolutionMode.values()) System.out.println(c);
public static ModuleLoader.ResolutionMode 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 nullCopyright © 2009-2017 Google. All Rights Reserved.