Enum Vulnerability.Analysis.State
- java.lang.Object
-
- java.lang.Enum<Vulnerability.Analysis.State>
-
- org.cyclonedx.model.vulnerability.Vulnerability.Analysis.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Vulnerability.Analysis.State>
- Enclosing class:
- Vulnerability.Analysis
public static enum Vulnerability.Analysis.State extends java.lang.Enum<Vulnerability.Analysis.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLOITABLEFALSE_POSITIVEIN_TRIAGENOT_AFFECTEDRESOLVEDRESOLVED_WITH_PEDIGREE
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateState(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vulnerability.Analysis.StatefromString(java.lang.String text)java.lang.StringgetStateName()static Vulnerability.Analysis.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Vulnerability.Analysis.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOLVED
public static final Vulnerability.Analysis.State RESOLVED
-
RESOLVED_WITH_PEDIGREE
public static final Vulnerability.Analysis.State RESOLVED_WITH_PEDIGREE
-
EXPLOITABLE
public static final Vulnerability.Analysis.State EXPLOITABLE
-
IN_TRIAGE
public static final Vulnerability.Analysis.State IN_TRIAGE
-
FALSE_POSITIVE
public static final Vulnerability.Analysis.State FALSE_POSITIVE
-
NOT_AFFECTED
public static final Vulnerability.Analysis.State NOT_AFFECTED
-
-
Method Detail
-
values
public static Vulnerability.Analysis.State[] 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 (Vulnerability.Analysis.State c : Vulnerability.Analysis.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Vulnerability.Analysis.State 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
-
getStateName
public java.lang.String getStateName()
-
fromString
public static Vulnerability.Analysis.State fromString(java.lang.String text)
-
-