Enum SelfTestStatus
- java.lang.Object
-
- java.lang.Enum<SelfTestStatus>
-
- com.amazon.corretto.crypto.provider.SelfTestStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SelfTestStatus>
public enum SelfTestStatus extends java.lang.Enum<SelfTestStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDNOT_RUNPASSEDRECURSIVELY_INVOKED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SelfTestStatuscombineMultipleTests(SelfTestStatus other)Merges multiple results for different tests to determine the overall result for the suite.static SelfTestStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SelfTestStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_RUN
public static final SelfTestStatus NOT_RUN
-
RECURSIVELY_INVOKED
public static final SelfTestStatus RECURSIVELY_INVOKED
-
PASSED
public static final SelfTestStatus PASSED
-
FAILED
public static final SelfTestStatus FAILED
-
-
Method Detail
-
values
public static SelfTestStatus[] 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 (SelfTestStatus c : SelfTestStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelfTestStatus 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
-
combineMultipleTests
public SelfTestStatus combineMultipleTests(SelfTestStatus other)
Merges multiple results for different tests to determine the overall result for the suite.- Parameters:
other-- Returns:
-
-