Package org.cyclonedx.model
Enum ExternalReference.Type
- java.lang.Object
-
- java.lang.Enum<ExternalReference.Type>
-
- org.cyclonedx.model.ExternalReference.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExternalReference.Type>
- Enclosing class:
- ExternalReference
public static enum ExternalReference.Type extends java.lang.Enum<ExternalReference.Type>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateType(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalReference.TypefromString(java.lang.String text)java.lang.StringgetTypeName()static ExternalReference.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExternalReference.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VCS
public static final ExternalReference.Type VCS
-
ISSUE_TRACKER
public static final ExternalReference.Type ISSUE_TRACKER
-
WEBSITE
public static final ExternalReference.Type WEBSITE
-
ADVISORIES
public static final ExternalReference.Type ADVISORIES
-
BOM
public static final ExternalReference.Type BOM
-
MAILING_LIST
public static final ExternalReference.Type MAILING_LIST
-
SOCIAL
public static final ExternalReference.Type SOCIAL
-
CHAT
public static final ExternalReference.Type CHAT
-
DOCUMENTATION
public static final ExternalReference.Type DOCUMENTATION
-
SUPPORT
public static final ExternalReference.Type SUPPORT
-
SOURCE_DISTRIBUTION
public static final ExternalReference.Type SOURCE_DISTRIBUTION
-
DISTRIBUTION
public static final ExternalReference.Type DISTRIBUTION
-
DISTRIBUTION_INTAKE
public static final ExternalReference.Type DISTRIBUTION_INTAKE
-
LICENSE
public static final ExternalReference.Type LICENSE
-
BUILD_META
public static final ExternalReference.Type BUILD_META
-
BUILD_SYSTEM
public static final ExternalReference.Type BUILD_SYSTEM
-
RELEASE_NOTES
public static final ExternalReference.Type RELEASE_NOTES
-
SECURITY_CONTACT
public static final ExternalReference.Type SECURITY_CONTACT
-
MODEL_CARD
public static final ExternalReference.Type MODEL_CARD
-
ATTESTATION
public static final ExternalReference.Type ATTESTATION
-
THREAT_MODEL
public static final ExternalReference.Type THREAT_MODEL
-
ADVERSARY_MODEL
public static final ExternalReference.Type ADVERSARY_MODEL
-
RISK_ASSESSMENT
public static final ExternalReference.Type RISK_ASSESSMENT
-
VULNERABILITY_ASSERTION
public static final ExternalReference.Type VULNERABILITY_ASSERTION
-
EXPLOITABILITY_STATEMENT
public static final ExternalReference.Type EXPLOITABILITY_STATEMENT
-
PENTEST_REPORT
public static final ExternalReference.Type PENTEST_REPORT
-
STATIC_ANALYSIS_REPORT
public static final ExternalReference.Type STATIC_ANALYSIS_REPORT
-
DYNAMIC_ANALYSIS_REPORT
public static final ExternalReference.Type DYNAMIC_ANALYSIS_REPORT
-
RUNTIME_ANALYSIS_REPORT
public static final ExternalReference.Type RUNTIME_ANALYSIS_REPORT
-
COMPONENT_ANALYSIS_REPORT
public static final ExternalReference.Type COMPONENT_ANALYSIS_REPORT
-
MATURITY_REPORT
public static final ExternalReference.Type MATURITY_REPORT
-
CERTIFICATION_REPORT
public static final ExternalReference.Type CERTIFICATION_REPORT
-
CODIFIED_INFRASTRUCTURE
public static final ExternalReference.Type CODIFIED_INFRASTRUCTURE
-
QUALITY_METRICS
public static final ExternalReference.Type QUALITY_METRICS
-
LOG
public static final ExternalReference.Type LOG
-
CONFIGURATION
public static final ExternalReference.Type CONFIGURATION
-
EVIDENCE
public static final ExternalReference.Type EVIDENCE
-
FORMULATION
public static final ExternalReference.Type FORMULATION
-
RFC_9116
public static final ExternalReference.Type RFC_9116
-
ELECTRONIC_SIGNATURE
public static final ExternalReference.Type ELECTRONIC_SIGNATURE
-
DIGITAL_SIGNATURE
public static final ExternalReference.Type DIGITAL_SIGNATURE
-
OTHER
public static final ExternalReference.Type OTHER
-
-
Method Detail
-
values
public static ExternalReference.Type[] 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 (ExternalReference.Type c : ExternalReference.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalReference.Type 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
-
getTypeName
public java.lang.String getTypeName()
-
fromString
public static ExternalReference.Type fromString(java.lang.String text)
-
-