public static enum XMLReporterConfig.StackTraceLevels extends java.lang.Enum<XMLReporterConfig.StackTraceLevels>
Enum Constant and Description |
---|
BOTH
Write both types of stacktrace
|
FULL
Write only the full version of the stacktrace
|
NONE
No stacktrace will be written in the output file
|
SHORT
Write only a short version of the stacktrace
|
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
static XMLReporterConfig.StackTraceLevels |
parse(int level) |
static XMLReporterConfig.StackTraceLevels |
parse(java.lang.String raw) |
java.lang.String |
toString() |
static XMLReporterConfig.StackTraceLevels |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XMLReporterConfig.StackTraceLevels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLReporterConfig.StackTraceLevels NONE
public static final XMLReporterConfig.StackTraceLevels SHORT
public static final XMLReporterConfig.StackTraceLevels FULL
public static final XMLReporterConfig.StackTraceLevels BOTH
public static XMLReporterConfig.StackTraceLevels[] values()
for (XMLReporterConfig.StackTraceLevels c : XMLReporterConfig.StackTraceLevels.values()) System.out.println(c);
public static XMLReporterConfig.StackTraceLevels 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 nullpublic int getLevel()
public java.lang.String toString()
toString
in class java.lang.Enum<XMLReporterConfig.StackTraceLevels>
public static XMLReporterConfig.StackTraceLevels parse(int level)
public static XMLReporterConfig.StackTraceLevels parse(java.lang.String raw)