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