Record Class HotSwapListener.EndpointChangedEvent
java.lang.Object
java.lang.Record
com.vaadin.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
- Record Components:
buildDir-browserLiveReload-
- Enclosing interface:
- HotSwapListener
public static record HotSwapListener.EndpointChangedEvent(Path buildDir, com.vaadin.flow.internal.BrowserLiveReload browserLiveReload)
extends Record
The event object that is passed to
endpointChanged method.-
Constructor Summary
ConstructorsConstructorDescriptionEndpointChangedEvent(Path buildDir, com.vaadin.flow.internal.BrowserLiveReload browserLiveReload) Creates an instance of aEndpointChangedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.internal.BrowserLiveReloadReturns the value of thebrowserLiveReloadrecord component.buildDir()Returns the value of thebuildDirrecord 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
-
EndpointChangedEvent
public EndpointChangedEvent(Path buildDir, com.vaadin.flow.internal.BrowserLiveReload browserLiveReload) Creates an instance of aEndpointChangedEventrecord class.- Parameters:
buildDir- the value for thebuildDirrecord componentbrowserLiveReload- the value for thebrowserLiveReloadrecord 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). -
buildDir
Returns the value of thebuildDirrecord component.- Returns:
- the value of the
buildDirrecord component
-
browserLiveReload
public com.vaadin.flow.internal.BrowserLiveReload browserLiveReload()Returns the value of thebrowserLiveReloadrecord component.- Returns:
- the value of the
browserLiveReloadrecord component
-