public static enum ITestResult.Status extends Enum<ITestResult.Status>
Modifier and Type | Method and Description |
---|---|
static ITestResult.Status |
max(ITestResult.Status a,
ITestResult.Status b)
Compare two statuses, and return the worst.
|
String |
toString()
Translatable name for the status.
|
static ITestResult.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ITestResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ITestResult.Status SUCCESS
public static final ITestResult.Status WARNING
public static final ITestResult.Status ERROR
public static ITestResult.Status[] values()
for (ITestResult.Status c : ITestResult.Status.values()) System.out.println(c);
public static ITestResult.Status 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 toString()
toString
in class Enum<ITestResult.Status>
public static ITestResult.Status max(ITestResult.Status a, ITestResult.Status b)
a
- first statusb
- second status