Record Class AdocCoordinates
java.lang.Object
java.lang.Record
network.ike.plugin.adoc.AdocCoordinates
- Record Components:
groupId- the group, for examplenetwork.ike.labartifactId- the artifact, for exampletopicsversion- the version the library was declared or found at
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAdocCoordinates(String groupId, String artifactId, String version) Checks that every part is present. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.The<dependency>block that declares this library, indented for a module'spom.xml.final booleanIndicates whether some other object is "equal to" this one.ga()The group and artifact,group:artifact, which is how a manifest names them.gav()The full coordinate as a build log prints it,group:artifact:zip:adoc:version.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.The library's manifest inside a zip or the union, relative to the root.The library's metadata directory inside a zip or the union, relative to the root:META-INF/ike/<group>/<artifact>.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
CLASSIFIER
-
TYPE
-
META_INF_IKE
The reserved area a library's own metadata is under, keyed by its coordinates.- See Also:
-
-
Constructor Details
-
AdocCoordinates
-
-
Method Details
-
ga
The group and artifact,group:artifact, which is how a manifest names them.- Returns:
- the group and artifact joined by a colon
-
gav
The full coordinate as a build log prints it,group:artifact:zip:adoc:version.- Returns:
- the coordinate with classifier and type
-
metaInfPath
The library's metadata directory inside a zip or the union, relative to the root:META-INF/ike/<group>/<artifact>.- Returns:
- the relative path, with forward slashes
-
manifestPath
The library's manifest inside a zip or the union, relative to the root.- Returns:
- the relative path of
manifest.yaml, with forward slashes
-
dependencyBlock
The<dependency>block that declares this library, indented for a module'spom.xml. This is what the build prints for an include that nothing declared ships.- Returns:
- the XML block, eight spaces in, ending with a newline
-
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). -
groupId
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
version
-