Enum RunVerdict
- java.lang.Object
-
- java.lang.Enum<RunVerdict>
-
- com.synopsys.defensics.apiserver.model.RunVerdict
-
- All Implemented Interfaces:
Serializable
,Comparable<RunVerdict>
public enum RunVerdict extends Enum<RunVerdict>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL
NONE
PASS
UNKNOWN_VALUE
WARNING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RunVerdict
valueOf(String name)
Returns the enum constant of this type with the specified name.static RunVerdict[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARNING
public static final RunVerdict WARNING
-
PASS
public static final RunVerdict PASS
-
FAIL
public static final RunVerdict FAIL
-
NONE
public static final RunVerdict NONE
-
UNKNOWN_VALUE
public static final RunVerdict UNKNOWN_VALUE
-
-
Method Detail
-
values
public static RunVerdict[] 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 (RunVerdict c : RunVerdict.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RunVerdict 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
-
-