Enum UrlPathHint
- java.lang.Object
-
- java.lang.Enum<UrlPathHint>
-
- org.owasp.dependencycheck.data.nvd.ecosystem.UrlPathHint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UrlPathHint>,EcosystemHint
public enum UrlPathHint extends java.lang.Enum<UrlPathHint> implements EcosystemHint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEcosystem()Returns the ecosystem.java.lang.StringgetKeyword()EcosystemHintNaturegetNature()Returns the nature of the ecosystem hint.java.lang.StringgetValue()Returns the value.static UrlPathHintvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UrlPathHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELIXIR
public static final UrlPathHint ELIXIR
Elixir hint.
-
NPM
public static final UrlPathHint NPM
Node.js hint.
-
-
Method Detail
-
values
public static UrlPathHint[] 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 (UrlPathHint c : UrlPathHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UrlPathHint 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:EcosystemHintReturns the ecosystem.- Specified by:
getEcosystemin interfaceEcosystemHint- Returns:
- the ecosystem
-
getKeyword
public java.lang.String getKeyword()
-
getNature
public EcosystemHintNature getNature()
Description copied from interface:EcosystemHintReturns the nature of the ecosystem hint.- Specified by:
getNaturein interfaceEcosystemHint- Returns:
- the nature of the ecosystem hint
-
getValue
public java.lang.String getValue()
Description copied from interface:EcosystemHintReturns the value.- Specified by:
getValuein interfaceEcosystemHint- Returns:
- the value
-
-