Record Class DialogAction.DynamicRunCommand
java.lang.Object
java.lang.Record
fr.fidorial.dialog.DialogAction.DynamicRunCommand
- Record Components:
template- the macro command to run
- All Implemented Interfaces:
DialogAction
- Enclosing interface:
DialogAction
public static record DialogAction.DynamicRunCommand(String template)
extends Record
implements DialogAction
An action running a macro command built from the dialog inputs.
- Since:
- 0.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface DialogAction
DialogAction.DynamicCustom, DialogAction.DynamicRunCommand, DialogAction.ShowDialog, DialogAction.Static -
Constructor Summary
ConstructorsConstructorDescriptionDynamicRunCommand(String template) Creates an instance of aDynamicRunCommandrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.template()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DynamicRunCommand
-
-
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). -
template
-