Package com.vaadin.copilot
Class HotswapEventBus.CopilotHotswapEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.copilot.HotswapEventBus.CopilotHotswapEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
HotswapEventBus
public static class HotswapEventBus.CopilotHotswapEvent
extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCopilotHotswapEvent(Class<?> hotwappedClass, boolean redefined) Creates a new event. -
Method Summary
Modifier and TypeMethodDescriptionClass<?> Gets the hotswapped class.booleanReturns whether the class was redefined.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
CopilotHotswapEvent
Creates a new event.
-
-
Method Details
-
getHotswappedClass
Gets the hotswapped class.- Returns:
- the hotswapped class
-
isRedefined
public boolean isRedefined()Returns whether the class was redefined.- Returns:
- true if the class was redefined, false otherwise
-