Package org.ossreviewtoolkit.model.utils
Enum PurlType
-
-
Method Summary
Modifier and Type Method Description StringtoString()final PurlTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<PurlType>values()Returns an array containing the constants of this enum type, in the order they're declared. 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. -
-
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.
-
-
-
-