public class TestMessageType extends Enum
| Modifier and Type | Field and Description |
|---|---|
static TestMessageType |
error
Error message.
|
static TestMessageType |
warning
Warning message.
|
| Modifier and Type | Method and Description |
|---|---|
static TestMessageType |
getInstance(int id)
Returns an instance of ReportType corresponding to the specified ID.
|
static TestMessageType |
getInstance(java.lang.String name)
Returns an instance of ReportType corresponding to the specified name.
|
static TestMessageType[] |
list()
Returns a list of all ReportType enumerations defined.
|
static java.lang.String[] |
listNames()
Returns the names of all ReportType enumerations defined.
|
public static final TestMessageType error
public static final TestMessageType warning
public static java.lang.String[] listNames()
public static TestMessageType[] list()
public static TestMessageType getInstance(java.lang.String name)
name - -
The name of the enumeration valuepublic static TestMessageType getInstance(int id)
id - -
The identifier of the enumeration value