Record Class DialogAction.DynamicCustom
java.lang.Object
java.lang.Record
fr.fidorial.dialog.DialogAction.DynamicCustom
- Record Components:
id- the identifier the server matches onadditions- extra tags merged into the payload, ornullfor none
- All Implemented Interfaces:
DialogAction
- Enclosing interface:
DialogAction
public static record DialogAction.DynamicCustom(Key id, @Nullable CompoundBinaryTag additions)
extends Record
implements DialogAction
An action posting the dialog inputs back to the server.
- Since:
- 0.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface DialogAction
DialogAction.DynamicCustom, DialogAction.DynamicRunCommand, DialogAction.ShowDialog, DialogAction.Static -
Constructor Summary
ConstructorsConstructorDescriptionDynamicCustom(Key id, @Nullable CompoundBinaryTag additions) Creates an instance of aDynamicCustomrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
id
-
additions
-