public enum Production extends Enum<Production>
| Enum Constant and Description |
|---|
APPLICATION_STARTED |
APPLICATION_STOPPED |
DB_CONNECTION |
DB_CONNECTION_FAILURE |
| Modifier and Type | Method and Description |
|---|---|
static Production |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Production[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Production APPLICATION_STARTED
public static final Production APPLICATION_STOPPED
public static final Production DB_CONNECTION
public static final Production DB_CONNECTION_FAILURE
public static Production[] values()
for (Production c : Production.values()) System.out.println(c);
public static Production 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 © 2005–2017 QOS.ch. All rights reserved.