Enum Vulnerability.Analysis.Response
- java.lang.Object
-
- java.lang.Enum<Vulnerability.Analysis.Response>
-
- org.cyclonedx.model.vulnerability.Vulnerability.Analysis.Response
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Vulnerability.Analysis.Response>
- Enclosing class:
- Vulnerability.Analysis
public static enum Vulnerability.Analysis.Response extends java.lang.Enum<Vulnerability.Analysis.Response>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAN_NOT_FIXROLLBACKUPDATEWILL_NOT_FIXWORKAROUND_AVAILABLE
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateResponse(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vulnerability.Analysis.ResponsefromString(java.lang.String text)java.lang.StringgetResponseName()static Vulnerability.Analysis.ResponsevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Vulnerability.Analysis.Response[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAN_NOT_FIX
public static final Vulnerability.Analysis.Response CAN_NOT_FIX
-
WILL_NOT_FIX
public static final Vulnerability.Analysis.Response WILL_NOT_FIX
-
UPDATE
public static final Vulnerability.Analysis.Response UPDATE
-
ROLLBACK
public static final Vulnerability.Analysis.Response ROLLBACK
-
WORKAROUND_AVAILABLE
public static final Vulnerability.Analysis.Response WORKAROUND_AVAILABLE
-
-
Method Detail
-
values
public static Vulnerability.Analysis.Response[] 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.Response c : Vulnerability.Analysis.Response.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.Response 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
-
getResponseName
public java.lang.String getResponseName()
-
fromString
public static Vulnerability.Analysis.Response fromString(java.lang.String text)
-
-