public enum Category extends Enum<Category>
Enum Constant and Description |
---|
BATCH |
COMMIT |
DEBUG |
ERROR |
INFO |
RESULT |
RESULTSET |
ROLLBACK |
STATEMENT |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Category ERROR
public static final Category INFO
public static final Category BATCH
public static final Category DEBUG
public static final Category STATEMENT
public static final Category RESULTSET
public static final Category COMMIT
public static final Category ROLLBACK
public static final Category RESULT
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category 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 nullpublic String getName()
Copyright © 2002-2014 P6Spy. All Rights Reserved.