public enum ModuleResolution extends Enum<ModuleResolution>
Determine how modules get resolved. Either "Node" for Node.js/io.js style resolution, or "Classic".
| Enum Constant and Description |
|---|
classic
Regular resolution.
|
node
Resolution for node.js.
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleResolution classic
public static final ModuleResolution node
public static ModuleResolution[] values()
for (ModuleResolution c : ModuleResolution.values()) System.out.println(c);
public static ModuleResolution 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 null