java.lang.Object
java.lang.Record
dev.qilletni.api.lib.qll.QilletniInfoData
- Record Components:
name-version--dependencies-
public record QilletniInfoData(String name, Version version, String author, String description, String sourceUrl, String providerClass, String nativeBindFactoryClass, List<String> nativeClasses, List<String> autoImportFiles, List<QilletniInfoData.Dependency> dependencies)
extends Record
A representation of the qilletni_info.yml file in an unbuilt project/application
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionQilletniInfoData(String name, Version version, String author, String description, String sourceUrl, String providerClass, String nativeBindFactoryClass, List<String> nativeClasses, List<String> autoImportFiles, List<QilletniInfoData.Dependency> dependencies) Creates an instance of aQilletniInfoDatarecord 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
-
QilletniInfoData
public QilletniInfoData(String name, Version version, String author, String description, String sourceUrl, String providerClass, String nativeBindFactoryClass, List<String> nativeClasses, List<String> autoImportFiles, List<QilletniInfoData.Dependency> dependencies) Creates an instance of aQilletniInfoDatarecord 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 componentproviderClass- the value for theproviderClassrecord componentnativeBindFactoryClass- the value for thenativeBindFactoryClassrecord componentnativeClasses- the value for thenativeClassesrecord componentautoImportFiles- the value for theautoImportFilesrecord componentdependencies- the value for thedependenciesrecord 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
-
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
-
dependencies
Returns the value of thedependenciesrecord component.- Returns:
- the value of the
dependenciesrecord component
-