Enum UrlPathHint

java.lang.Object
java.lang.Enum<UrlPathHint>
org.owasp.dependencycheck.data.nvd.ecosystem.UrlPathHint
All Implemented Interfaces:
Serializable, Comparable<UrlPathHint>, EcosystemHint

public enum UrlPathHint extends Enum<UrlPathHint> implements EcosystemHint
  • Enum Constant Details

    • ELIXIR

      public static final UrlPathHint ELIXIR
      Elixir hint.
    • NPM

      public static final UrlPathHint NPM
      Node.js hint.
  • Method Details

    • values

      public static UrlPathHint[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UrlPathHint valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getEcosystem

      public String getEcosystem()
      Description copied from interface: EcosystemHint
      Returns the ecosystem.
      Specified by:
      getEcosystem in interface EcosystemHint
      Returns:
      the ecosystem
    • getKeyword

      public String getKeyword()
    • getNature

      public EcosystemHintNature getNature()
      Description copied from interface: EcosystemHint
      Returns the nature of the ecosystem hint.
      Specified by:
      getNature in interface EcosystemHint
      Returns:
      the nature of the ecosystem hint
    • getValue

      public String getValue()
      Description copied from interface: EcosystemHint
      Returns the value.
      Specified by:
      getValue in interface EcosystemHint
      Returns:
      the value