Package ch.rswk.meta.engine
Record Class UserService.GroupWriteNotification
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.GroupWriteNotification
- Enclosing class:
UserService
public static record UserService.GroupWriteNotification(WriteAction action, String group)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WriteActionThe field for theactionrecord component.private final StringThe field for thegrouprecord component. -
Constructor Summary
ConstructorsConstructorDescriptionGroupWriteNotification(WriteAction action, String group) Creates an instance of aGroupWriteNotificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
action
The field for theactionrecord component. -
group
The field for thegrouprecord component.
-
-
Constructor Details
-
GroupWriteNotification
Creates an instance of aGroupWriteNotificationrecord class.- Parameters:
action- the value for theactionrecord componentgroup- the value for thegrouprecord 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 theactionrecord component.- Returns:
- the value of the
actionrecord component
-
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-