Enum TestItemIssueGroup
- java.lang.Object
-
- java.lang.Enum<TestItemIssueGroup>
-
- com.epam.ta.reportportal.entity.enums.TestItemIssueGroup
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TestItemIssueGroup>
public enum TestItemIssueGroup extends java.lang.Enum<TestItemIssueGroup>
Vocabulary for supported test item issues types. They are applied as markers for test steps. User marks test step according to the type of the issue, caused it's failure.
locator - predefined ID for immutable issue type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATION_BUGNO_DEFECTNOT_ISSUE_FLAGPRODUCT_BUGSYSTEM_ISSUETO_INVESTIGATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<TestItemIssueGroup>fromValue(java.lang.String value)Retrieves TestItemIssueType value by it's string valuejava.lang.StringgetIssueCounterField()java.lang.StringgetLocator()java.lang.StringgetValue()static TestItemIssueGroupvalidate(java.lang.String value)static java.util.List<java.lang.String>validValues()static TestItemIssueGroupvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TestItemIssueGroup[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_ISSUE_FLAG
public static final TestItemIssueGroup NOT_ISSUE_FLAG
-
PRODUCT_BUG
public static final TestItemIssueGroup PRODUCT_BUG
-
AUTOMATION_BUG
public static final TestItemIssueGroup AUTOMATION_BUG
-
SYSTEM_ISSUE
public static final TestItemIssueGroup SYSTEM_ISSUE
-
TO_INVESTIGATE
public static final TestItemIssueGroup TO_INVESTIGATE
-
NO_DEFECT
public static final TestItemIssueGroup NO_DEFECT
-
-
Method Detail
-
values
public static TestItemIssueGroup[] 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 (TestItemIssueGroup c : TestItemIssueGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestItemIssueGroup 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
-
getValue
public java.lang.String getValue()
-
getLocator
public java.lang.String getLocator()
-
getIssueCounterField
public java.lang.String getIssueCounterField()
-
fromValue
public static java.util.Optional<TestItemIssueGroup> fromValue(java.lang.String value)
Retrieves TestItemIssueType value by it's string value- Parameters:
value- - string representation of desired TestItemIssueType value- Returns:
- TestItemIssueType value
-
validate
public static TestItemIssueGroup validate(java.lang.String value)
-
validValues
public static java.util.List<java.lang.String> validValues()
-
-