public enum TestStatus extends Enum<TestStatus>
Enum Constant and Description |
---|
DEGRADED |
FAILED |
IMPROVED |
INVALIDATED |
PASSED |
VOLATILE |
Modifier and Type | Method and Description |
---|---|
static TestStatus |
fromString(String status) |
String |
toString() |
static TestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestStatus FAILED
public static final TestStatus DEGRADED
public static final TestStatus VOLATILE
public static final TestStatus IMPROVED
public static final TestStatus PASSED
public static final TestStatus INVALIDATED
public static TestStatus[] values()
for (TestStatus c : TestStatus.values()) System.out.println(c);
public static TestStatus 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<TestStatus>
public static TestStatus fromString(String status)
Copyright © 2016–2020. All rights reserved.