Package com.piketec.tpt.api
Enum Project.RequirementsLinking
- java.lang.Object
-
- java.lang.Enum<Project.RequirementsLinking>
-
- com.piketec.tpt.api.Project.RequirementsLinking
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Project.RequirementsLinking>
- Enclosing interface:
- Project
public static enum Project.RequirementsLinking extends java.lang.Enum<Project.RequirementsLinking>
Modes that determine which types of requirement links are included in calculations.- Author:
- Copyright (c) 2014-2024 Piketec GmbH - MIT License (MIT) - All rights reserved
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_KINDS
All kinds of links, i.e. test cases, variants and assesslets are considered for calculations.ASSESSLETS_ONLY
Only links to assesslets are considered for calculations.TEST_CASES_ONLY
Only links to test cases are considered for calculations.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Project.RequirementsLinking
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Project.RequirementsLinking[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEST_CASES_ONLY
public static final Project.RequirementsLinking TEST_CASES_ONLY
Only links to test cases are considered for calculations.
-
ASSESSLETS_ONLY
public static final Project.RequirementsLinking ASSESSLETS_ONLY
Only links to assesslets are considered for calculations.
-
ALL_KINDS
public static final Project.RequirementsLinking ALL_KINDS
All kinds of links, i.e. test cases, variants and assesslets are considered for calculations.
-
-
Method Detail
-
values
public static Project.RequirementsLinking[] 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 (Project.RequirementsLinking c : Project.RequirementsLinking.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Project.RequirementsLinking 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
-
-