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:
  • Constructor Details

    • CopilotHotswapEvent

      public CopilotHotswapEvent(Class<?> hotwappedClass, boolean redefined)
      Creates a new event.
  • Method Details

    • getHotswappedClass

      public Class<?> 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