Enum TestStatus
- java.lang.Object
-
- java.lang.Enum<TestStatus>
-
- gov.nist.secauto.decima.core.assessment.result.TestStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TestStatus>
public enum TestStatus extends Enum<TestStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILThe resulting test was unsuccessful.INFORMATIONALThe resulting test was evaluated, but produced an informative result that does not indicate success or failure.PASSThe resulting test evaluation was successful.WARNINGThe resulting test was successful, but resulted in a warning.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TestStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFORMATIONAL
public static final TestStatus INFORMATIONAL
The resulting test was evaluated, but produced an informative result that does not indicate success or failure.
-
PASS
public static final TestStatus PASS
The resulting test evaluation was successful.
-
WARNING
public static final TestStatus WARNING
The resulting test was successful, but resulted in a warning.
-
FAIL
public static final TestStatus FAIL
The resulting test was unsuccessful.
-
-
Method Detail
-
values
public static TestStatus[] 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 (TestStatus c : TestStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestStatus valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-