public enum TestRunStatus extends Enum<TestRunStatus>
Enum Constant and Description |
---|
BLOCKED |
FAILED |
INPROGRESS |
NOT_RUN |
PASSED |
Modifier and Type | Field and Description |
---|---|
static Map<Integer,TestRunStatus> |
STATUS_MAP |
Modifier and Type | Method and Description |
---|---|
String |
getColor() |
String |
getDisplay() |
Integer |
getId() |
String |
getName() |
static TestRunStatus |
getStatusById(Integer statusId) |
static TestRunStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestRunStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestRunStatus PASSED
public static final TestRunStatus NOT_RUN
public static final TestRunStatus INPROGRESS
public static final TestRunStatus FAILED
public static final TestRunStatus BLOCKED
public static final Map<Integer,TestRunStatus> STATUS_MAP
public static TestRunStatus[] values()
for (TestRunStatus c : TestRunStatus.values()) System.out.println(c);
public static TestRunStatus 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 static TestRunStatus getStatusById(Integer statusId)
public String getDisplay()
public String getName()
public String getColor()
public Integer getId()
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.