jetbrains.buildServer.serverSide
Enum BuildStatistics.Order

java.lang.Object
  extended by java.lang.Enum<BuildStatistics.Order>
      extended by jetbrains.buildServer.serverSide.BuildStatistics.Order
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BuildStatistics.Order>
Enclosing interface:
BuildStatistics

public static enum BuildStatistics.Order
extends java.lang.Enum<BuildStatistics.Order>

Order for BuildStatistics.getTests(jetbrains.buildServer.messages.Status, jetbrains.buildServer.serverSide.BuildStatistics.Order) call


Enum Constant Summary
DURATION_ASC
           
DURATION_DESC
           
FULL_NAME_ASC
           
FULL_NAME_DESC
           
NAME_ASC
           
NAME_DESC
           
NATURAL_ASC
           
NATURAL_DESC
           
STATUS_IMPORTANCE_ASC
           
STATUS_IMPORTANCE_DESC
           
 
Method Summary
abstract  java.util.List<STestRun> sortTests(java.util.List<STestRun> initial)
           
static BuildStatistics.Order valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuildStatistics.Order[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NATURAL_ASC

public static final BuildStatistics.Order NATURAL_ASC

NATURAL_DESC

public static final BuildStatistics.Order NATURAL_DESC

DURATION_ASC

public static final BuildStatistics.Order DURATION_ASC

DURATION_DESC

public static final BuildStatistics.Order DURATION_DESC

STATUS_IMPORTANCE_ASC

public static final BuildStatistics.Order STATUS_IMPORTANCE_ASC

STATUS_IMPORTANCE_DESC

public static final BuildStatistics.Order STATUS_IMPORTANCE_DESC

NAME_ASC

public static final BuildStatistics.Order NAME_ASC

NAME_DESC

public static final BuildStatistics.Order NAME_DESC

FULL_NAME_ASC

public static final BuildStatistics.Order FULL_NAME_ASC

FULL_NAME_DESC

public static final BuildStatistics.Order FULL_NAME_DESC
Method Detail

values

public static BuildStatistics.Order[] 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 (BuildStatistics.Order c : BuildStatistics.Order.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BuildStatistics.Order valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

sortTests

public abstract java.util.List<STestRun> sortTests(java.util.List<STestRun> initial)
Parameters:
initial - not sorted test list.
Returns:
resorted new copy of list of tests.