Record Class BrowserGate.AppInfo
java.lang.Object
java.lang.Record
com.iizix.jetty.BrowserGate.AppInfo
- Record Components:
name- The app name, null or empty for the page's own default text.description- The description, null or empty for none: the block collapses.appStoreURL- The Apple App Store URL, null or empty for none.googlePlayURL- The Google Play URL, null or empty for none.
- Enclosing class:
BrowserGate
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionReturns the value of theappStoreURLrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegooglePlayURLrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
AppInfo
Creates an instance of aAppInforecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentappStoreURL- the value for theappStoreURLrecord componentgooglePlayURL- the value for thegooglePlayURLrecord 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
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
appStoreURL
Returns the value of theappStoreURLrecord component.- Returns:
- the value of the
appStoreURLrecord component
googlePlayURL
Returns the value of thegooglePlayURLrecord component.- Returns:
- the value of the
googlePlayURLrecord component