We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.copilot.
Package com.vaadin.copilot
Class ApplicationInitializer
java.lang.Object
com.vaadin.copilot.ApplicationInitializer
All Implemented Interfaces:
Helps to initialize a Spring Boot Vaadin application with no views by adding either a Flow or Hilla view + a theme.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from interface com.vaadin.copilot.CopilotCommand
KEY_CANCEL_REQ_ID, KEY_REQ_ID
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationInitializer
(ProjectManager projectManager, VaadinServletContext context) Creates a new instance of the initializer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handleMessage
(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.copilot.CopilotCommand
canBeParallelCommand, handleConnect
-
Field Details
-
SUCCESS_KEY
See Also:
-
REASON_KEY
See Also:
-
INIT_APP_RESULT
See Also:
-
REFRESH_KEY
See Also:
-
-
Constructor Details
-
ApplicationInitializer
Creates a new instance of the initializer
Parameters:
projectManager
- the project manager to usecontext
- the context we are running in
-
-
Method Details
-
handleMessage
public boolean handleMessage(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) Specified by:
handleMessage
in interfaceCopilotCommand
-