Record Class Metadata
java.lang.Object
java.lang.Record
org.wildfly.galleon.plugin.doc.generator.Metadata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.booleancontainsLayer(String layerName) Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.licenses()Returns the value of thelicensesrecord component.name()Returns the value of thenamerecord component.scmUrl()Returns the value of thescmUrlrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Metadata
public Metadata(String groupId, String artifactId, String version, String name, String description, List<String> licenses, String url, String scmUrl, List<Metadata.Layer> layers) Creates an instance of aMetadatarecord class.- Parameters:
groupId- the value for thegroupIdrecord componentartifactId- the value for theartifactIdrecord componentversion- the value for theversionrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentlicenses- the value for thelicensesrecord componenturl- the value for theurlrecord componentscmUrl- the value for thescmUrlrecord componentlayers- the value for thelayersrecord component
-
-
Method Details
-
containsLayer
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
licenses
Returns the value of thelicensesrecord component.- Returns:
- the value of the
licensesrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
scmUrl
Returns the value of thescmUrlrecord component.- Returns:
- the value of the
scmUrlrecord component
-
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-