Record Class CAPreferences
java.lang.Object
java.lang.Record
com.io7m.cardant.client.preferences.api.CAPreferences
- Record Components:
debuggingEnabled- A specification of whether or not debugging is enabledserverBookmarks- The server bookmarksrecentFiles- The recent files
public record CAPreferences(CAPreferencesDebuggingEnabled debuggingEnabled, List<CAPreferenceServerBookmark> serverBookmarks, List<Path> recentFiles)
extends Record
A set of preferences.
-
Constructor Summary
ConstructorsConstructorDescriptionCAPreferences(CAPreferencesDebuggingEnabled debuggingEnabled, List<CAPreferenceServerBookmark> serverBookmarks, List<Path> recentFiles) A set of preferences. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedebuggingEnabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therecentFilesrecord component.Returns the value of theserverBookmarksrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CAPreferences
public CAPreferences(CAPreferencesDebuggingEnabled debuggingEnabled, List<CAPreferenceServerBookmark> serverBookmarks, List<Path> recentFiles) A set of preferences.
-
-
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). -
debuggingEnabled
Returns the value of thedebuggingEnabledrecord component.- Returns:
- the value of the
debuggingEnabledrecord component
-
serverBookmarks
Returns the value of theserverBookmarksrecord component.- Returns:
- the value of the
serverBookmarksrecord component
-
recentFiles
Returns the value of therecentFilesrecord component.- Returns:
- the value of the
recentFilesrecord component
-