Package com.piketec.tpt.api.requirements
Enum TestCasesImportSettings.TargetTypeAssignment.TargetType
- java.lang.Object
-
- java.lang.Enum<TestCasesImportSettings.TargetTypeAssignment.TargetType>
-
- com.piketec.tpt.api.requirements.TestCasesImportSettings.TargetTypeAssignment.TargetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TestCasesImportSettings.TargetTypeAssignment.TargetType>
- Enclosing class:
- TestCasesImportSettings.TargetTypeAssignment
public static enum TestCasesImportSettings.TargetTypeAssignment.TargetType extends java.lang.Enum<TestCasesImportSettings.TargetTypeAssignment.TargetType>
The choice for the TPT type (test case vs. test case group) of imported objects or whether the object should be ignored.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
The choice between test case and test case group as TPT type for the imported object is done automatically by the object position in the hierarchy (objects without children are imported as test cases, others as groups).GROUP
The imported object is a test case group.IGNORE
The imported object will be excluded from the import.TEST_CASE
The imported object is a test case.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestCasesImportSettings.TargetTypeAssignment.TargetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestCasesImportSettings.TargetTypeAssignment.TargetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final TestCasesImportSettings.TargetTypeAssignment.TargetType AUTO
The choice between test case and test case group as TPT type for the imported object is done automatically by the object position in the hierarchy (objects without children are imported as test cases, others as groups).
-
TEST_CASE
public static final TestCasesImportSettings.TargetTypeAssignment.TargetType TEST_CASE
The imported object is a test case. Make sure that those objects do not have children.
-
GROUP
public static final TestCasesImportSettings.TargetTypeAssignment.TargetType GROUP
The imported object is a test case group.
-
IGNORE
public static final TestCasesImportSettings.TargetTypeAssignment.TargetType IGNORE
The imported object will be excluded from the import.
-
-
Method Detail
-
values
public static TestCasesImportSettings.TargetTypeAssignment.TargetType[] 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 (TestCasesImportSettings.TargetTypeAssignment.TargetType c : TestCasesImportSettings.TargetTypeAssignment.TargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestCasesImportSettings.TargetTypeAssignment.TargetType 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
-
-