com.vaadin.flow.server.frontend.
Package com.vaadin.flow.server.frontend
-
Interface Summary Interface Description EndpointGeneratorTaskFactory A factory for creating Vaadin Endpoint generator tasks.
FallibleCommand A generic command which may fail.
TaskGenerateConnect Generate the Vaadin TS files for endpoints, and the Client API file.
TaskGenerateOpenApi Generate OpenAPI json file for Vaadin Endpoints.
-
Class Summary Class Description AbstractTaskClientGenerator Abstract class for generating client files.
FallbackChunk Fall back chunk info.
FallbackChunk.CssImportData Css data stored in fallback chunk.
FrontendTools Provides access to frontend tools (node.js and npm, pnpm) and optionally installs the tools if needed.
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.
TaskGenerateBootstrap A task for generating the bootstrap file
FrontendUtils.BOOTSTRAP_FILE_NAME
during `package` Maven goal.TaskGenerateIndexHtml Generate
index.html
if it is missing in frontend folder.TaskGenerateIndexTs Generate
index.js
if it is missing in frontend folder.TaskGeneratePackageJson Creates the
package.json
if missing.TaskGenerateServiceWorker Generate
index.html
if it is missing in frontend folder.TaskGenerateTsConfig Generate
tsconfig.json
if it is missing in project folder andindex.ts
exists in frontend folder.TaskGenerateTsDefinitions Generate
types.d.ts
if it is missing in project folder andtsconfig.json
exists in project folder.TaskInstallWebpackPlugins Task that installs any Flow webpack plugins into node_modules/@vaadin for use with webpack compilation.
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.TaskUpdateThemeImport Task generating the theme definition file 'theme.js' for importing application theme into the generated frontend directory.
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.
UnknownTaskException Exception thrown for when a node task that is not in the task list is encountered.
WebpackConnectionException Exception thrown when webpack server doesn't respond with HTTP_OK for a request.