Enum Vulnerability.Analysis.Justification
- java.lang.Object
-
- java.lang.Enum<Vulnerability.Analysis.Justification>
-
- org.cyclonedx.model.vulnerability.Vulnerability.Analysis.Justification
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Vulnerability.Analysis.Justification>
- Enclosing class:
- Vulnerability.Analysis
public static enum Vulnerability.Analysis.Justification extends java.lang.Enum<Vulnerability.Analysis.Justification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CODE_NOT_PRESENTCODE_NOT_REACHABLEPROTECTED_AT_PERIMETERPROTECTED_AT_RUNTIMEPROTECTED_BY_COMPILERPROTECTED_BY_MITIGATING_CONTROLREQUIRES_CONFIGURATIONREQUIRES_DEPENDENCYREQUIRES_ENVIRONMENT
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateJustification(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vulnerability.Analysis.JustificationfromString(java.lang.String text)java.lang.StringgetJustificationName()static Vulnerability.Analysis.JustificationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Vulnerability.Analysis.Justification[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODE_NOT_PRESENT
public static final Vulnerability.Analysis.Justification CODE_NOT_PRESENT
-
CODE_NOT_REACHABLE
public static final Vulnerability.Analysis.Justification CODE_NOT_REACHABLE
-
REQUIRES_CONFIGURATION
public static final Vulnerability.Analysis.Justification REQUIRES_CONFIGURATION
-
REQUIRES_DEPENDENCY
public static final Vulnerability.Analysis.Justification REQUIRES_DEPENDENCY
-
REQUIRES_ENVIRONMENT
public static final Vulnerability.Analysis.Justification REQUIRES_ENVIRONMENT
-
PROTECTED_BY_COMPILER
public static final Vulnerability.Analysis.Justification PROTECTED_BY_COMPILER
-
PROTECTED_AT_RUNTIME
public static final Vulnerability.Analysis.Justification PROTECTED_AT_RUNTIME
-
PROTECTED_AT_PERIMETER
public static final Vulnerability.Analysis.Justification PROTECTED_AT_PERIMETER
-
PROTECTED_BY_MITIGATING_CONTROL
public static final Vulnerability.Analysis.Justification PROTECTED_BY_MITIGATING_CONTROL
-
-
Method Detail
-
values
public static Vulnerability.Analysis.Justification[] 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.Justification c : Vulnerability.Analysis.Justification.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.Justification 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
-
getJustificationName
public java.lang.String getJustificationName()
-
fromString
public static Vulnerability.Analysis.Justification fromString(java.lang.String text)
-
-