Package org.testng
Enum TestRunner.PriorityWeight
- java.lang.Object
-
- java.lang.Enum<TestRunner.PriorityWeight>
-
- org.testng.TestRunner.PriorityWeight
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TestRunner.PriorityWeight>
- Enclosing class:
- TestRunner
public static enum TestRunner.PriorityWeight extends java.lang.Enum<TestRunner.PriorityWeight>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description dependsOnGroups
dependsOnMethods
groupByInstance
preserveOrder
priority
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestRunner.PriorityWeight
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestRunner.PriorityWeight[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
groupByInstance
public static final TestRunner.PriorityWeight groupByInstance
-
preserveOrder
public static final TestRunner.PriorityWeight preserveOrder
-
priority
public static final TestRunner.PriorityWeight priority
-
dependsOnGroups
public static final TestRunner.PriorityWeight dependsOnGroups
-
dependsOnMethods
public static final TestRunner.PriorityWeight dependsOnMethods
-
-
Method Detail
-
values
public static TestRunner.PriorityWeight[] 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 (TestRunner.PriorityWeight c : TestRunner.PriorityWeight.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestRunner.PriorityWeight 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 namejava.lang.NullPointerException
- if the argument is null
-
-