Record Class ButtonWithConfirmationOptionsDialog.ButtonHandlers<T extends Describable>
java.lang.Object
java.lang.Record
com.evolveum.midpoint.web.component.input.ButtonWithConfirmationOptionsDialog.ButtonHandlers<T>
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ButtonWithConfirmationOptionsDialog<T extends Describable>
public static record ButtonWithConfirmationOptionsDialog.ButtonHandlers<T extends Describable>(SerializableConsumer<org.apache.wicket.ajax.AjaxRequestTarget> cancelHandler, SerializableBiConsumer<org.apache.wicket.ajax.AjaxRequestTarget,org.apache.wicket.model.IModel<List<ConfirmationOption<T extends Describable>>>> confirmHandler)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionButtonHandlers(SerializableConsumer<org.apache.wicket.ajax.AjaxRequestTarget> cancelHandler, SerializableBiConsumer<org.apache.wicket.ajax.AjaxRequestTarget, org.apache.wicket.model.IModel<List<ConfirmationOption<T>>>> confirmHandler) Creates an instance of aButtonHandlersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionSerializableConsumer<org.apache.wicket.ajax.AjaxRequestTarget>Returns the value of thecancelHandlerrecord component.SerializableBiConsumer<org.apache.wicket.ajax.AjaxRequestTarget,org.apache.wicket.model.IModel<List<ConfirmationOption<T>>>> Returns the value of theconfirmHandlerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ButtonHandlers
public ButtonHandlers(SerializableConsumer<org.apache.wicket.ajax.AjaxRequestTarget> cancelHandler, SerializableBiConsumer<org.apache.wicket.ajax.AjaxRequestTarget, org.apache.wicket.model.IModel<List<ConfirmationOption<T>>>> confirmHandler) Creates an instance of aButtonHandlersrecord class.- Parameters:
cancelHandler- the value for thecancelHandlerrecord componentconfirmHandler- the value for theconfirmHandlerrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
cancelHandler
Returns the value of thecancelHandlerrecord component.- Returns:
- the value of the
cancelHandlerrecord component
-
confirmHandler
public SerializableBiConsumer<org.apache.wicket.ajax.AjaxRequestTarget,org.apache.wicket.model.IModel<List<ConfirmationOption<T>>>> confirmHandler()Returns the value of theconfirmHandlerrecord component.- Returns:
- the value of the
confirmHandlerrecord component
-