Enum UrlHostHint
- java.lang.Object
-
- java.lang.Enum<UrlHostHint>
-
- org.owasp.dependencycheck.data.nvd.ecosystem.UrlHostHint
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UrlHostHint>
,EcosystemHint
public enum UrlHostHint extends java.lang.Enum<UrlHostHint> implements EcosystemHint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEcosystem()
Returns the ecosystem.java.lang.String
getKeyword()
EcosystemHintNature
getNature()
Returns the nature of the ecosystem hint.java.lang.String
getValue()
Returns the value.static UrlHostHint
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UrlHostHint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUBY
public static final UrlHostHint RUBY
Ruby ecosystem.
-
PYTHON
public static final UrlHostHint PYTHON
Python ecosystem.
-
DRUPAL
public static final UrlHostHint DRUPAL
PHP ecosystem.
-
NODEJS
public static final UrlHostHint NODEJS
Node.js ecosystem.
-
NODE_SECURITY
public static final UrlHostHint NODE_SECURITY
Node.js ecosystem.
-
RUST
public static final UrlHostHint RUST
Rust ecosystem.
-
-
Method Detail
-
values
public static UrlHostHint[] 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 (UrlHostHint c : UrlHostHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UrlHostHint 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()
Description copied from interface:EcosystemHint
Returns the ecosystem.- Specified by:
getEcosystem
in interfaceEcosystemHint
- Returns:
- the ecosystem
-
getKeyword
public java.lang.String getKeyword()
-
getNature
public EcosystemHintNature getNature()
Description copied from interface:EcosystemHint
Returns the nature of the ecosystem hint.- Specified by:
getNature
in interfaceEcosystemHint
- Returns:
- the nature of the ecosystem hint
-
getValue
public java.lang.String getValue()
Description copied from interface:EcosystemHint
Returns the value.- Specified by:
getValue
in interfaceEcosystemHint
- Returns:
- the value
-
-