Enum TestHistoryOrder
- java.lang.Object
-
- java.lang.Enum<TestHistoryOrder>
-
- jetbrains.buildServer.controllers.TestHistoryOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<TestHistoryOrder>
public enum TestHistoryOrder extends Enum<TestHistoryOrder>
Order variants for test history
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_ASC
AGENT_DESC
CHANGE_ASC
CHANGE_DESC
START_DATE_ASC
START_DATE_DESC
TEST_STATUS_ASC
TEST_STATUS_DESC
-
Field Summary
Fields Modifier and Type Field Description static TestHistoryOrder
DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getComment()
abstract Comparator<STestRun>
getComparator()
String
getStyleClass(String columnCode)
static TestHistoryOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestHistoryOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_DATE_ASC
public static final TestHistoryOrder START_DATE_ASC
-
START_DATE_DESC
public static final TestHistoryOrder START_DATE_DESC
-
TEST_STATUS_ASC
public static final TestHistoryOrder TEST_STATUS_ASC
-
TEST_STATUS_DESC
public static final TestHistoryOrder TEST_STATUS_DESC
-
AGENT_ASC
public static final TestHistoryOrder AGENT_ASC
-
AGENT_DESC
public static final TestHistoryOrder AGENT_DESC
-
CHANGE_ASC
public static final TestHistoryOrder CHANGE_ASC
-
CHANGE_DESC
public static final TestHistoryOrder CHANGE_DESC
-
-
Field Detail
-
DEFAULT
public static final TestHistoryOrder DEFAULT
-
-
Method Detail
-
values
public static TestHistoryOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TestHistoryOrder c : TestHistoryOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestHistoryOrder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getComparator
@NotNull public abstract Comparator<STestRun> getComparator()
-
getComment
@NotNull public abstract String getComment()
-
-