Package ch.rswk.meta.engine
Record Class UserService.UserConfigWriteNotification
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.UserConfigWriteNotification
- Enclosing class:
UserService
public static record UserService.UserConfigWriteNotification(WriteAction action, String config)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WriteAction
The field for theaction
record component.private final String
The field for theconfig
record component. -
Constructor Summary
ConstructorsConstructorDescriptionUserConfigWriteNotification
(WriteAction action, String config) Creates an instance of aUserConfigWriteNotification
record class. -
Method Summary
Modifier and TypeMethodDescriptionaction()
Returns the value of theaction
record component.config()
Returns the value of theconfig
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
-
action
The field for theaction
record component. -
config
The field for theconfig
record component.
-
-
Constructor Details
-
UserConfigWriteNotification
Creates an instance of aUserConfigWriteNotification
record class.- Parameters:
action
- the value for theaction
record componentconfig
- the value for theconfig
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)
. -
action
Returns the value of theaction
record component.- Returns:
- the value of the
action
record component
-
config
Returns the value of theconfig
record component.- Returns:
- the value of the
config
record component
-