Record Class BomDeveloper
java.lang.Object
java.lang.Record
network.ike.plugin.BomDeveloper
- Record Components:
id- developer id; null omits the elementname- developer display name; null omits the elementemail- developer contact email; null omits the element
A developer entry for the generated BOM POM — Maven Central requires
at least one
<developer> (IKE-Network/ike-issues#967).
Decouples BOM XML generation from Maven's Developer model
so the generation logic is testable with plain records.
-
Constructor Summary
ConstructorsConstructorDescriptionBomDeveloper(String id, String name, String email) Creates an instance of aBomDeveloperrecord class. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BomDeveloper
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
-
name
-
email
-