Package core.support.objects
Enum TestObject.testState
- java.lang.Object
-
- java.lang.Enum<TestObject.testState>
-
- core.support.objects.TestObject.testState
-
- All Implemented Interfaces:
Serializable,Comparable<TestObject.testState>
- Enclosing class:
- TestObject
public static enum TestObject.testState extends Enum<TestObject.testState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description apiTestMethodbeforeSuitedefaultStateparentsuitetestClasstestMethod
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestObject.testStatevalueOf(String name)Returns the enum constant of this type with the specified name.static TestObject.testState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
parent
public static final TestObject.testState parent
-
beforeSuite
public static final TestObject.testState beforeSuite
-
suite
public static final TestObject.testState suite
-
testClass
public static final TestObject.testState testClass
-
testMethod
public static final TestObject.testState testMethod
-
apiTestMethod
public static final TestObject.testState apiTestMethod
-
defaultState
public static final TestObject.testState defaultState
-
-
Method Detail
-
values
public static TestObject.testState[] 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 (TestObject.testState c : TestObject.testState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestObject.testState valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-