Record Class ContactController.InitialisationParameters
java.lang.Object
java.lang.Record
page.codeberg.friedolyn.gui.controllers.ContactController.InitialisationParameters
- Record Components:
configuration
- Will be used for authentication with the uni's e-mail server and to store the user's contact information.contactRequestType
- Why the user is contacting the developers.
- Enclosing class:
ContactController
public static record ContactController.InitialisationParameters(Configuration configuration, Friedolyn.ContactRequest contactRequestType)
extends Record
The information necessary to populate the contact window.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Configuration
The field for theconfiguration
record component.private final Friedolyn.ContactRequest
The field for thecontactRequestType
record component. -
Constructor Summary
ConstructorsConstructorDescriptionInitialisationParameters
(Configuration configuration, Friedolyn.ContactRequest contactRequestType) Creates an instance of aInitialisationParameters
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfiguration
record component.Returns the value of thecontactRequestType
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
configuration
The field for theconfiguration
record component. -
contactRequestType
The field for thecontactRequestType
record component.
-
-
Constructor Details
-
InitialisationParameters
public InitialisationParameters(Configuration configuration, Friedolyn.ContactRequest contactRequestType) Creates an instance of aInitialisationParameters
record class.- Parameters:
configuration
- the value for theconfiguration
record componentcontactRequestType
- the value for thecontactRequestType
record 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)
. -
configuration
Returns the value of theconfiguration
record component.- Returns:
- the value of the
configuration
record component
-
contactRequestType
Returns the value of thecontactRequestType
record component.- Returns:
- the value of the
contactRequestType
record component
-