Enum TDAPI_COPY_PASTE_MODES
- java.lang.Object
-
- java.lang.Enum<TDAPI_COPY_PASTE_MODES>
-
- step.repository.alm.v16.otaclient.TDAPI_COPY_PASTE_MODES
-
- All Implemented Interfaces:
com4j.ComEnum
,java.io.Serializable
,java.lang.Comparable<TDAPI_COPY_PASTE_MODES>
public enum TDAPI_COPY_PASTE_MODES extends java.lang.Enum<TDAPI_COPY_PASTE_MODES> implements com4j.ComEnum
Options for pasting design steps linked to tests where the linked tests already exist in the target project.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY_PASTE_CREATE_LINKED_TEST_MODE
Create new copies of the linked tests.COPY_PASTE_CREATE_RELATED_ENTITIES_MODE
Create new copies of the related entities.COPY_PASTE_NO_LINKED_TEST_MODE
Do not copy the linked tests.COPY_PASTE_NO_RELATED_ENTITIES_MODE
Do not copy the related entities.COPY_PASTE_USE_LINKED_TEST_MODE
Link the design steps to the existing tests.COPY_PASTE_USE_RELATED_ENTITIES_MODE
Link the entity to the existing found entities.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
comEnumValue()
static TDAPI_COPY_PASTE_MODES
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TDAPI_COPY_PASTE_MODES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COPY_PASTE_NO_LINKED_TEST_MODE
public static final TDAPI_COPY_PASTE_MODES COPY_PASTE_NO_LINKED_TEST_MODE
Do not copy the linked tests.
The value of this constant is 0
-
COPY_PASTE_USE_LINKED_TEST_MODE
public static final TDAPI_COPY_PASTE_MODES COPY_PASTE_USE_LINKED_TEST_MODE
Link the design steps to the existing tests.
The value of this constant is 1
-
COPY_PASTE_CREATE_LINKED_TEST_MODE
public static final TDAPI_COPY_PASTE_MODES COPY_PASTE_CREATE_LINKED_TEST_MODE
Create new copies of the linked tests.
The value of this constant is 2
-
COPY_PASTE_NO_RELATED_ENTITIES_MODE
public static final TDAPI_COPY_PASTE_MODES COPY_PASTE_NO_RELATED_ENTITIES_MODE
Do not copy the related entities.
The value of this constant is 4
-
COPY_PASTE_USE_RELATED_ENTITIES_MODE
public static final TDAPI_COPY_PASTE_MODES COPY_PASTE_USE_RELATED_ENTITIES_MODE
Link the entity to the existing found entities.
The value of this constant is 8
-
COPY_PASTE_CREATE_RELATED_ENTITIES_MODE
public static final TDAPI_COPY_PASTE_MODES COPY_PASTE_CREATE_RELATED_ENTITIES_MODE
Create new copies of the related entities.
The value of this constant is 16
-
-
Method Detail
-
values
public static TDAPI_COPY_PASTE_MODES[] 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 (TDAPI_COPY_PASTE_MODES c : TDAPI_COPY_PASTE_MODES.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TDAPI_COPY_PASTE_MODES 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
-
comEnumValue
public int comEnumValue()
- Specified by:
comEnumValue
in interfacecom4j.ComEnum
-
-