static enum TestNGMethodFinder.MethodType extends java.lang.Enum<TestNGMethodFinder.MethodType>
Enum Constant and Description |
---|
AFTER_CLASS |
AFTER_GROUPS |
AFTER_SUITE |
AFTER_TEST |
AFTER_TEST_METHOD |
BEFORE_CLASS |
BEFORE_GROUPS |
BEFORE_SUITE |
BEFORE_TEST |
BEFORE_TEST_METHOD |
Modifier and Type | Method and Description |
---|---|
static TestNGMethodFinder.MethodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestNGMethodFinder.MethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestNGMethodFinder.MethodType BEFORE_SUITE
public static final TestNGMethodFinder.MethodType AFTER_SUITE
public static final TestNGMethodFinder.MethodType BEFORE_TEST
public static final TestNGMethodFinder.MethodType AFTER_TEST
public static final TestNGMethodFinder.MethodType BEFORE_CLASS
public static final TestNGMethodFinder.MethodType AFTER_CLASS
public static final TestNGMethodFinder.MethodType BEFORE_TEST_METHOD
public static final TestNGMethodFinder.MethodType AFTER_TEST_METHOD
public static final TestNGMethodFinder.MethodType BEFORE_GROUPS
public static final TestNGMethodFinder.MethodType AFTER_GROUPS
public static TestNGMethodFinder.MethodType[] values()
for (TestNGMethodFinder.MethodType c : TestNGMethodFinder.MethodType.values()) System.out.println(c);
public static TestNGMethodFinder.MethodType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null