Enum PurlType

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum PurlType
    extends Enum<PurlType>
                        

    A subset of the Package URL types defined at https://github.com/package-url/purl-spec/blob/ad8a673/PURL-TYPES.rst.

    • Constructor Detail

    • Method Detail

      • valueOf

         final PurlType valueOf(String value)

        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.)

      • values

         final Array<PurlType> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.

      • getEntries

         final EnumEntries<PurlType> getEntries()

        A subset of the Package URL types defined at https://github.com/package-url/purl-spec/blob/ad8a673/PURL-TYPES.rst.