java.lang.Object
java.lang.Record
dev.qilletni.api.lib.qll.QllInfo
- Record Components:
name-version--dependencies-providerClass-
public record QllInfo(String name, Version version, String author, String description, String sourceUrl, List<QilletniInfoData.Dependency> dependencies, String providerClass, String nativeBindFactoryClass, List<String> nativeClasses, List<String> autoImportFiles)
extends Record
A record of a JSON file in a .qll that holds metadata about it.
-
Constructor Summary
ConstructorsConstructorDescriptionQllInfo(QilletniInfoData qilletniInfoData) QllInfo(String name, Version version, String author, String description, String sourceUrl, List<QilletniInfoData.Dependency> dependencies, String providerClass, String nativeBindFactoryClass, List<String> nativeClasses, List<String> autoImportFiles) Creates an instance of aQllInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionauthor()Returns the value of theauthorrecord component.Returns the value of theautoImportFilesrecord component.Returns the value of thedependenciesrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thenativeBindFactoryClassrecord component.Returns the value of thenativeClassesrecord component.Returns the value of theproviderClassrecord component.Returns the value of thesourceUrlrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
QllInfo
-
QllInfo
public QllInfo(String name, Version version, String author, String description, String sourceUrl, List<QilletniInfoData.Dependency> dependencies, String providerClass, String nativeBindFactoryClass, List<String> nativeClasses, List<String> autoImportFiles) Creates an instance of aQllInforecord class.- Parameters:
name- the value for thenamerecord componentversion- the value for theversionrecord componentauthor- the value for theauthorrecord componentdescription- the value for thedescriptionrecord componentsourceUrl- the value for thesourceUrlrecord componentdependencies- the value for thedependenciesrecord componentproviderClass- the value for theproviderClassrecord componentnativeBindFactoryClass- the value for thenativeBindFactoryClassrecord componentnativeClasses- the value for thenativeClassesrecord componentautoImportFiles- the value for theautoImportFilesrecord 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). -
name
-
version
-
author
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
sourceUrl
Returns the value of thesourceUrlrecord component.- Returns:
- the value of the
sourceUrlrecord component
-
dependencies
Returns the value of thedependenciesrecord component.- Returns:
- the value of the
dependenciesrecord component
-
providerClass
Returns the value of theproviderClassrecord component.- Returns:
- the value of the
providerClassrecord component
-
nativeBindFactoryClass
Returns the value of thenativeBindFactoryClassrecord component.- Returns:
- the value of the
nativeBindFactoryClassrecord component
-
nativeClasses
-
autoImportFiles
-