Record Class ControlPanelApi.RefreshRequest
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.ui.ControlPanelApi.RefreshRequest
- Record Components:
force- whether refresh should run regardless of environment changes
- Enclosing interface:
ControlPanelApi
- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
ConstructorsConstructorDescriptionRefreshRequest(boolean force) Creates an instance of aRefreshRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanforce()Returns the value of theforcerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RefreshRequest
public RefreshRequest(boolean force) Creates an instance of aRefreshRequestrecord class.- Parameters:
force- the value for theforcerecord 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 with thecomparemethod from their corresponding wrapper classes. -
force
-