static enum Database.DbState extends java.lang.Enum<Database.DbState>
Modifier and Type | Method and Description |
---|---|
static Database.DbState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Database.DbState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Database.DbState OPEN
public static final Database.DbState CLOSED
public static final Database.DbState INVALID
public static final Database.DbState PREEMPTED
public static Database.DbState[] values()
for (Database.DbState c : Database.DbState.values()) System.out.println(c);
public static Database.DbState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2004-2012 Oracle. All rights reserved.