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, @Nullable String datetimeFrontMatterKey, @NotNull String linkPrefix, @NotNull Path outputPath)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryLiterateConfig(@Nullable LiteratePrettierOptions pretty, @Nullable String datetimeFrontMatterKey, @NotNull String linkPrefix, @NotNull Path outputPath) Creates an instance of aLibraryLiterateConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thedatetimeFrontMatterKeyrecord component.final 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, @Nullable @Nullable String datetimeFrontMatterKey, @NotNull @NotNull String linkPrefix, @NotNull @NotNull Path outputPath) Creates an instance of aLibraryLiterateConfigrecord class.- Parameters:
pretty- the value for theprettyrecord componentdatetimeFrontMatterKey- the value for thedatetimeFrontMatterKeyrecord componentlinkPrefix- the value for thelinkPrefixrecord componentoutputPath- the value for theoutputPathrecord component
-
-
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). -
pretty
Returns the value of theprettyrecord component.- Returns:
- the value of the
prettyrecord component
-
datetimeFrontMatterKey
Returns the value of thedatetimeFrontMatterKeyrecord component.- Returns:
- the value of the
datetimeFrontMatterKeyrecord 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
-