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 WriteAction
The field for theaction
record component.private final String
The field for thegroup
record component. -
Constructor Summary
ConstructorsConstructorDescriptionGroupWriteNotification
(WriteAction action, String group) Creates an instance of aGroupWriteNotification
record class. -
Method Summary
Modifier and TypeMethodDescriptionaction()
Returns the value of theaction
record component.final boolean
Indicates whether some other object is "equal to" this one.group()
Returns the value of thegroup
record component.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. -
group
The field for thegroup
record component.
-
-
Constructor Details
-
GroupWriteNotification
Creates an instance of aGroupWriteNotification
record class.- Parameters:
action
- the value for theaction
record componentgroup
- the value for thegroup
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
-
group
Returns the value of thegroup
record component.- Returns:
- the value of the
group
record component
-