Enum EcosystemHintNature
- java.lang.Object
-
- java.lang.Enum<EcosystemHintNature>
-
- org.owasp.dependencycheck.data.nvd.ecosystem.EcosystemHintNature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EcosystemHintNature>
public enum EcosystemHintNature extends java.lang.Enum<EcosystemHintNature>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_EXTENSION
Hint is from the file extension.KEYWORD
Hint is from a keyword.URL_HOST
Hint is from the host in a URL.URL_PATH
Hint is from the URL path.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EcosystemHintNature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EcosystemHintNature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_EXTENSION
public static final EcosystemHintNature FILE_EXTENSION
Hint is from the file extension.
-
KEYWORD
public static final EcosystemHintNature KEYWORD
Hint is from a keyword.
-
URL_HOST
public static final EcosystemHintNature URL_HOST
Hint is from the host in a URL.
-
URL_PATH
public static final EcosystemHintNature URL_PATH
Hint is from the URL path.
-
-
Method Detail
-
values
public static EcosystemHintNature[] 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 (EcosystemHintNature c : EcosystemHintNature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EcosystemHintNature 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
-
-