Module aya.cli.impl
Package org.aya.cli.library.json
Record Class LibraryConfig.LibraryLiterateConfig
java.lang.Object
java.lang.Record
org.aya.cli.library.json.LibraryConfig.LibraryLiterateConfig
- Enclosing class:
LibraryConfig
public static record LibraryConfig.LibraryLiterateConfig(@Nullable LiteratePrettierOptions pretty, @NotNull String linkPrefix, @NotNull Path outputPath)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryLiterateConfig(@Nullable LiteratePrettierOptions pretty, @NotNull String linkPrefix, @NotNull Path outputPath) Creates an instance of aLibraryLiterateConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull StringReturns the value of thelinkPrefixrecord component.@NotNull PathReturns the value of theoutputPathrecord component.@Nullable LiteratePrettierOptionspretty()Returns the value of theprettyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LibraryLiterateConfig
public LibraryLiterateConfig(@Nullable @Nullable LiteratePrettierOptions pretty, @NotNull @NotNull String linkPrefix, @NotNull @NotNull Path outputPath) Creates an instance of aLibraryLiterateConfigrecord class.- Parameters:
pretty- the value for theprettyrecord componentlinkPrefix- the value for thelinkPrefixrecord componentoutputPath- the value for theoutputPathrecord component
-
-
Method Details
-
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). -
pretty
Returns the value of theprettyrecord component.- Returns:
- the value of the
prettyrecord component
-
linkPrefix
Returns the value of thelinkPrefixrecord component.- Returns:
- the value of the
linkPrefixrecord component
-
outputPath
Returns the value of theoutputPathrecord component.- Returns:
- the value of the
outputPathrecord component
-