Record Class QApplicationMetadata
java.lang.Object
java.lang.Record
com.io7m.quarrel.core.QApplicationMetadata
- Record Components:
applicationName- The short name of the application used in command-line usage messages (such as "idstore")applicationId- The application ID (such as "com.io7m.idstore")version- The version (such as "1.0.0")build- The build (such as "25695d1e138bc93f21759a990d676e02951b0ae4")title- The application titlesite- The site (such as "https://www.io7m.com/software/idstore")
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationIdrecord component.Returns the value of theapplicationNamerecord component.build()Returns the value of thebuildrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.site()Returns the value of thesiterecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
QApplicationMetadata
public QApplicationMetadata(String applicationName, String applicationId, String version, String build, String title, Optional<URI> site) The application metadata.- Parameters:
applicationName- The short name of the application used in command-line usage messages (such as "idstore")applicationId- The application ID (such as "com.io7m.idstore")version- The version (such as "1.0.0")build- The build (such as "25695d1e138bc93f21759a990d676e02951b0ae4")title- The application titlesite- The site (such as "https://www.io7m.com/software/idstore")
-
-
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). -
applicationName
Returns the value of theapplicationNamerecord component.- Returns:
- the value of the
applicationNamerecord component
-
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
version
-
build
-
title
-
site
-