Enum ResultStatus
- java.lang.Object
-
- java.lang.Enum<ResultStatus>
-
- de.interactive_instruments.etf.client.ResultStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResultStatus>
public enum ResultStatus extends java.lang.Enum<ResultStatus>
Status of ETF items that represent test results. The status code of a result item is based on the aggregation of the statuses of the items at the direct lower level.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILED
FAILED, if at least one status value is FAILED ordinal: 1INFO
INFO, if at least one status value is INFO ordinal: 4INTERNAL_ERROR
INTERNAL_ERROR, if at least one status value is INTERNAL_ERROR in the case the test engine throws an unexpected error that forces the test run to stop ordinal: 8NOT_APPLICABLE
NOT_APPLICABLE if at least one status value is NOT_APPLICABLE, in the case the test object does not provide the capabilities for executing the test ordinal: 3OTHER
Check if the ETF version is newer than the version supported by this library.PASSED
PASSED, if all status values are PASSED ordinal: 0PASSED_MANUAL
PASSED_MANUAL, if at least one status value is PASSED_MANUAL (if the test is not automated and the user has to validate results manually based on instructions in the report) and all others are values are PASSED ordinal: 7SKIPPED
SKIPPED, if at least one status value is SKIPPED because a test case depends on another test case which has the status FAILED or SKIPPED ordinal: 2UNDEFINED
UNDEFINED, in all other cases ordinal: 6WARNING
WARNING, if at least one status value is WARNING ordinal: 5
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultStatus
fromString(java.lang.String status)
java.lang.String
toString()
static ResultStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResultStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSED
public static final ResultStatus PASSED
PASSED, if all status values are PASSED ordinal: 0
-
FAILED
public static final ResultStatus FAILED
FAILED, if at least one status value is FAILED ordinal: 1
-
SKIPPED
public static final ResultStatus SKIPPED
SKIPPED, if at least one status value is SKIPPED because a test case depends on another test case which has the status FAILED or SKIPPED ordinal: 2
-
NOT_APPLICABLE
public static final ResultStatus NOT_APPLICABLE
NOT_APPLICABLE if at least one status value is NOT_APPLICABLE, in the case the test object does not provide the capabilities for executing the test ordinal: 3
-
INFO
public static final ResultStatus INFO
INFO, if at least one status value is INFO ordinal: 4
-
WARNING
public static final ResultStatus WARNING
WARNING, if at least one status value is WARNING ordinal: 5
-
UNDEFINED
public static final ResultStatus UNDEFINED
UNDEFINED, in all other cases ordinal: 6
-
PASSED_MANUAL
public static final ResultStatus PASSED_MANUAL
PASSED_MANUAL, if at least one status value is PASSED_MANUAL (if the test is not automated and the user has to validate results manually based on instructions in the report) and all others are values are PASSED ordinal: 7
-
INTERNAL_ERROR
public static final ResultStatus INTERNAL_ERROR
INTERNAL_ERROR, if at least one status value is INTERNAL_ERROR in the case the test engine throws an unexpected error that forces the test run to stop ordinal: 8
-
OTHER
public static final ResultStatus OTHER
Check if the ETF version is newer than the version supported by this library. ordinal: 9
-
-
Method Detail
-
values
public static ResultStatus[] 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 (ResultStatus c : ResultStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultStatus 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ResultStatus>
-
fromString
public static ResultStatus fromString(java.lang.String status)
-
-