public enum ModuleVersion extends Enum<ModuleVersion>
| Enum Constant and Description |
|---|
ERROR |
INSTALLED |
NOT_INSTALLED |
OLDER_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static ModuleVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleVersion OLDER_VERSION
public static final ModuleVersion NOT_INSTALLED
public static final ModuleVersion INSTALLED
public static final ModuleVersion ERROR
public static ModuleVersion[] values()
for (ModuleVersion c : ModuleVersion.values()) System.out.println(c);
public static ModuleVersion 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 © 2015. All rights reserved.