Class RunOrder

java.lang.Object
org.apache.maven.surefire.api.util.RunOrder

public class RunOrder extends Object
A RunOrder specifies the order in which the tests will be run.
Author:
Stefan Birkner
  • Field Details

    • ALPHABETICAL

      public static final RunOrder ALPHABETICAL
    • FILESYSTEM

      public static final RunOrder FILESYSTEM
    • HOURLY

      public static final RunOrder HOURLY
    • RANDOM

      public static final RunOrder RANDOM
    • REVERSE_ALPHABETICAL

      public static final RunOrder REVERSE_ALPHABETICAL
    • BALANCED

      public static final RunOrder BALANCED
    • FAILEDFIRST

      public static final RunOrder FAILEDFIRST
    • DEFAULT

      public static final RunOrder[] DEFAULT
  • Method Details

    • valueOfMulti

      public static RunOrder[] valueOfMulti(String values)
      Returns the specified RunOrder
      Parameters:
      values - The runorder string value
      Returns:
      An array of RunOrder objects, never null
    • valueOf

      public static RunOrder valueOf(String name)
    • asString

      public static String asString(RunOrder[] runOrder)
    • name

      public String name()
    • toString

      public String toString()
      Overrides:
      toString in class Object