public enum ModuleSpecifier extends Enum<ModuleSpecifier>
Enum Constant and Description |
---|
BUILD_ADDED
The module was added by a module builder.
|
LAYER
The module is a layer cache entry
|
MODULES
The module was requested explicitly by the loader
|
SCRIPTS
The module is a non-AMD script file
|
Modifier and Type | Method and Description |
---|---|
static ModuleSpecifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleSpecifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleSpecifier SCRIPTS
public static final ModuleSpecifier MODULES
public static final ModuleSpecifier LAYER
public static final ModuleSpecifier BUILD_ADDED
public static ModuleSpecifier[] values()
for (ModuleSpecifier c : ModuleSpecifier.values()) System.out.println(c);
public static ModuleSpecifier 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 © 2011-2015 IBM. All Rights Reserved.