com.vaadin.flow.server.frontend.
Package com.vaadin.flow.server.frontend
-
Interface Summary Interface Description FallibleCommand A generic command which may fail.
-
Class Summary Class Description AbstractTaskClientGenerator Abstract class for generating client files.
FallbackChunk Fall back chunk info.
FallbackChunk.CssImportData Css data stored in fallback chunk.
FrontendToolsLocator Helps to locate the tools in the system by their names.
FrontendUtils A class for static methods and definitions that might be used in different locations.
FrontendVersion Version object for frontend versions comparison and handling.
FrontendWebComponentGenerator Generates embeddable web component files in npm mode, hiding the complexity caused by using a different class loader.
JarContentsManager Shared code for managing contents of jar files.
NodeTasks An executor that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run.
NodeTasks.Builder Build a
NodeExecutor
instance.NodeUpdater Base abstract class for frontend updaters that needs to be run when in dev-mode or from the flow maven plugin.
TaskCopyFrontendFiles Copies JavaScript and CSS files from JAR files into a given folder.
TaskCopyLocalFrontendFiles Copies JavaScript files from the given local frontend folder.
TaskGenerateConnect Generate the Vaadin Connect TS files for endpoints, and the Client API file.
TaskGenerateIndexHtml Generate
index.html
if it is missing in frontend folder.TaskGenerateIndexTs Generate
index.js
if it is missing in frontend folder.TaskGenerateOpenApi Generate OpenAPI json file for Connect Endpoints.
TaskGeneratePackageJson Creates the
package.json
if missing.TaskGenerateTsConfig Generate
tsconfig.json
if it is missing in project folder andindex.ts
exists in frontend folder.TaskRunNpmInstall Run
npm install
after dependencies have been updated.TaskUpdateImports An updater that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run in order to update Flow imports file and
node_module/@vaadin/flow-frontend
contents by visiting all classes withJsModule
andTheme
annotations.TaskUpdatePackages Updates
package.json
by visitingNpmPackage
annotations found in the classpath.TaskUpdateWebpack Updates the webpack config file according with current project settings.
-
Exception Summary Exception Description FrontendUtils.UnknownVersionException Thrown when detecting the version of a tool fails.
WebpackConnectionException Exception thrown when webpack server doesn't respond with HTTP_OK for a request.