Enum Class XmlSuite.ParallelMode

java.lang.Object
java.lang.Enum<XmlSuite.ParallelMode>
org.testng.xml.XmlSuite.ParallelMode
All Implemented Interfaces:
Serializable, Comparable<XmlSuite.ParallelMode>, Constable
Enclosing class:
XmlSuite

public static enum XmlSuite.ParallelMode extends Enum<XmlSuite.ParallelMode>
Parallel modes.
  • Enum Constant Details

  • Field Details

    • name

      private final String name
    • isParallel

      private final boolean isParallel
  • Constructor Details

    • ParallelMode

      private ParallelMode(String name)
    • ParallelMode

      private ParallelMode(String name, boolean isParallel)
  • Method Details

    • values

      public static XmlSuite.ParallelMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static XmlSuite.ParallelMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • warnUser

      private static void warnUser(String value, XmlSuite.ParallelMode mode)
    • getValidParallel

      public static XmlSuite.ParallelMode getValidParallel(String parallel)
    • skipDeprecatedValues

      @Deprecated public static XmlSuite.ParallelMode skipDeprecatedValues(XmlSuite.ParallelMode parallel)
      Deprecated.
      - This method stands deprecated as of v7.4.0
    • isParallel

      public boolean isParallel()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<XmlSuite.ParallelMode>