Package com.piketec.tpt.api.requirements
Enum TestCasesImportSettings.SynchronizationMethod
- java.lang.Object
-
- java.lang.Enum<TestCasesImportSettings.SynchronizationMethod>
-
- com.piketec.tpt.api.requirements.TestCasesImportSettings.SynchronizationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TestCasesImportSettings.SynchronizationMethod>
- Enclosing class:
- TestCasesImportSettings
public static enum TestCasesImportSettings.SynchronizationMethod extends java.lang.Enum<TestCasesImportSettings.SynchronizationMethod>
The choice how the importer matches TPT test cases against the imported ones.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestCasesImportSettings.SynchronizationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestCasesImportSettings.SynchronizationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_NEW
public static final TestCasesImportSettings.SynchronizationMethod ALL_NEW
All imported test cases will be created new in TPT. The importer will not look up existing test cases for any matches.
-
UPDATE
public static final TestCasesImportSettings.SynchronizationMethod UPDATE
The importer updates existing test cases. Imported and existing test cases are matched via its ID.
-
-
Method Detail
-
values
public static TestCasesImportSettings.SynchronizationMethod[] 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.SynchronizationMethod c : TestCasesImportSettings.SynchronizationMethod.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.SynchronizationMethod 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
-
-