Record Class AdocPackage
java.lang.Object
java.lang.Record
network.ike.plugin.adoc.AdocPackage
- Record Components:
name- the package path relative to the root, with forward slasheskind- "topics" for topics, "library" for a library's own rendered content such as its preview index and shared images
One package a library ships: a directory under the library's root, named by the owning
group as one dotted segment and then the domain, such as
network.ike.lab/dev. A
library whose group ends in its only domain uses the group directory itself, such as
network.ike.kompendium.anf.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether a path relative to the root is inside this package.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
KIND_TOPICS
-
KIND_LIBRARY
The kind of a package that holds a library's own preview index and shared images.- See Also:
-
-
Constructor Details
-
AdocPackage
-
-
Method Details
-
contains
Whether a path relative to the root is inside this package.- Parameters:
path- a path relative to the root, with forward slashes- Returns:
- true when the path is under this package's directory
-
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). -
name
-
kind
-