Package com.piketec.tpt.api
Enum AdvancedReportSettings.ShowAssessmentVariables
- java.lang.Object
-
- java.lang.Enum<AdvancedReportSettings.ShowAssessmentVariables>
-
- com.piketec.tpt.api.AdvancedReportSettings.ShowAssessmentVariables
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AdvancedReportSettings.ShowAssessmentVariables>
- Enclosing interface:
- AdvancedReportSettings
public static enum AdvancedReportSettings.ShowAssessmentVariables extends java.lang.Enum<AdvancedReportSettings.ShowAssessmentVariables>
Different settings whether assessment variables are shown in the report or not.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
Assessment variables are always shown in the report, even if they are inconclusive.NEVER
No assessment variable is shown in the report.PASSED_OR_FAILED_OR_EXECERROR_ONLY
Assessment variables are only shown in the report if they have a result (passed, failed, execution_error).
-
Field Summary
Fields Modifier and Type Field Description static AdvancedReportSettings.ShowAssessmentVariables
PASSED_OR_FAILED_ONLY
Deprecated.Will be removed in TPT 18. this attribute exists for backwards compatibility reasons only.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdvancedReportSettings.ShowAssessmentVariables
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AdvancedReportSettings.ShowAssessmentVariables[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final AdvancedReportSettings.ShowAssessmentVariables NEVER
No assessment variable is shown in the report.
-
PASSED_OR_FAILED_OR_EXECERROR_ONLY
public static final AdvancedReportSettings.ShowAssessmentVariables PASSED_OR_FAILED_OR_EXECERROR_ONLY
Assessment variables are only shown in the report if they have a result (passed, failed, execution_error).
-
ALWAYS
public static final AdvancedReportSettings.ShowAssessmentVariables ALWAYS
Assessment variables are always shown in the report, even if they are inconclusive.
-
-
Field Detail
-
PASSED_OR_FAILED_ONLY
@Deprecated public static final AdvancedReportSettings.ShowAssessmentVariables PASSED_OR_FAILED_ONLY
Deprecated.Will be removed in TPT 18. this attribute exists for backwards compatibility reasons only. It has the same semantics asPASSED_OR_FAILED_OR_EXECERROR_ONLY
. Please usePASSED_OR_FAILED_OR_EXECERROR_ONLY
instead.
-
-
Method Detail
-
values
public static AdvancedReportSettings.ShowAssessmentVariables[] 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 (AdvancedReportSettings.ShowAssessmentVariables c : AdvancedReportSettings.ShowAssessmentVariables.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdvancedReportSettings.ShowAssessmentVariables 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
-
-