Enum Class UnresolvedMetadata
- All Implemented Interfaces:
Serializable, Comparable<UnresolvedMetadata>, Constable
Why a component's Maven metadata could not be read, recorded on the component so that a consumer
can tell a component that declares nothing apart from one whose metadata was unavailable.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe effective model could not be completed, and which of its inputs failed is not established.The POM was read, and the parent POM it declares was not obtained.A POM was returned but could not be read as one.The repository returned no usable POM artifact for the component. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()The value written to the component property; part of the SBOM output contract.static UnresolvedMetadataReturns the enum constant of this class with the specified name.static UnresolvedMetadata[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POM_UNRESOLVED
The repository returned no usable POM artifact for the component. -
POM_UNPARSEABLE
A POM was returned but could not be read as one. -
PARENT_UNRESOLVED
The POM was read, and the parent POM it declares was not obtained. Reported only where the failure identifies that parent; what the component declares itself is still reported, what it would have inherited is missing. -
MODEL_INCOMPLETE
The effective model could not be completed, and which of its inputs failed is not established. An import that could not be read arrives here, as does a parent the failure does not identify. What the component declares itself is still reported.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
The value written to the component property; part of the SBOM output contract.
-