Enum DescriptionKeywordHint
- java.lang.Object
-
- java.lang.Enum<DescriptionKeywordHint>
-
- org.owasp.dependencycheck.data.nvd.ecosystem.DescriptionKeywordHint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DescriptionKeywordHint>,EcosystemHint
public enum DescriptionKeywordHint extends java.lang.Enum<DescriptionKeywordHint> implements EcosystemHint
Enumeration used for mapping CVEs to their ecosystems based on the description.- Author:
- skjolber
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUFFER_OVERFLOWDescription text to identify native ecosystems.BUFFER_OVERFLOWSDescription text to identify native ecosystems.DJANGOThe django ecosystem.DRUPALThe drupal ecosystem (PHP).GRAILSThe grails ecosystem (java).JAVA_EEThe Java ecosystem (Java).JAVA_SEThe Java ecosystem (Java).JOOMLAThe joomla ecosystem (PHP).JOOMLA_EXCLAMATION_MARKThe joomla ecosystem (PHP).MOODLEThe moodle ecosystem (PHP).NODEJSThe node.js ecosystem.NPMThe NPM Ecosystem (node.js).RUBY_GEMThe ruby ecosystem.TYPO3The typo3 ecosystem (PHP).WORDPRESSThe word press ecosystem (PHP).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEcosystem()Returns the ecosystem.java.lang.StringgetKeyword()Returns the keyword.EcosystemHintNaturegetNature()Returns the nature.java.lang.StringgetValue()Returns the keyword.static DescriptionKeywordHintvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DescriptionKeywordHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NPM
public static final DescriptionKeywordHint NPM
The NPM Ecosystem (node.js).
-
NODEJS
public static final DescriptionKeywordHint NODEJS
The node.js ecosystem.
-
GRAILS
public static final DescriptionKeywordHint GRAILS
The grails ecosystem (java).
-
RUBY_GEM
public static final DescriptionKeywordHint RUBY_GEM
The ruby ecosystem.
-
DJANGO
public static final DescriptionKeywordHint DJANGO
The django ecosystem.
-
BUFFER_OVERFLOW
public static final DescriptionKeywordHint BUFFER_OVERFLOW
Description text to identify native ecosystems.
-
BUFFER_OVERFLOWS
public static final DescriptionKeywordHint BUFFER_OVERFLOWS
Description text to identify native ecosystems.
-
WORDPRESS
public static final DescriptionKeywordHint WORDPRESS
The word press ecosystem (PHP).
-
DRUPAL
public static final DescriptionKeywordHint DRUPAL
The drupal ecosystem (PHP).
-
JOOMLA
public static final DescriptionKeywordHint JOOMLA
The joomla ecosystem (PHP).
-
JOOMLA_EXCLAMATION_MARK
public static final DescriptionKeywordHint JOOMLA_EXCLAMATION_MARK
The joomla ecosystem (PHP).
-
MOODLE
public static final DescriptionKeywordHint MOODLE
The moodle ecosystem (PHP).
-
TYPO3
public static final DescriptionKeywordHint TYPO3
The typo3 ecosystem (PHP).
-
JAVA_SE
public static final DescriptionKeywordHint JAVA_SE
The Java ecosystem (Java).
-
JAVA_EE
public static final DescriptionKeywordHint JAVA_EE
The Java ecosystem (Java).
-
-
Method Detail
-
values
public static DescriptionKeywordHint[] 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 (DescriptionKeywordHint c : DescriptionKeywordHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DescriptionKeywordHint 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
-
getEcosystem
public java.lang.String getEcosystem()
Returns the ecosystem.- Specified by:
getEcosystemin interfaceEcosystemHint- Returns:
- the ecosystem
-
getKeyword
public java.lang.String getKeyword()
Returns the keyword.- Returns:
- the keyword
-
getNature
public EcosystemHintNature getNature()
Returns the nature.- Specified by:
getNaturein interfaceEcosystemHint- Returns:
- the nature
-
getValue
public java.lang.String getValue()
Returns the keyword.- Specified by:
getValuein interfaceEcosystemHint- Returns:
- the keyword
-
-