Class ApplicationInitializer

java.lang.Object
com.vaadin.copilot.ApplicationInitializer
All Implemented Interfaces:
CopilotCommand

public class ApplicationInitializer extends Object implements CopilotCommand
Helps initializing a Spring Boot Vaadin application with no views by adding either a Flow or Hilla view + a theme.
  • Field Details

  • Constructor Details

    • ApplicationInitializer

      public ApplicationInitializer(ProjectManager projectManager, com.vaadin.flow.server.VaadinServletContext context)
      Creates a new instance of the initializer
      Parameters:
      projectManager - the project manager to use
      context - the context we are running in
  • Method Details

    • handleMessage

      public boolean handleMessage(String command, elemental.json.JsonObject data, com.vaadin.base.devserver.DevToolsInterface devToolsInterface)
      Specified by:
      handleMessage in interface CopilotCommand