com.vaadin.flow.server.frontend.scanner.
Interface FrontendDependenciesScanner
All Superinterfaces:
All Known Implementing Classes:
Frontend dependencies scanner.
For internal use only. May be renamed or removed in a future release.
Since:
Author:
Vaadin Ltd
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Frontend dependencies scanner factory.
-
Method Summary
Modifier and TypeMethodDescriptionGet all Java classes considered when looking for used dependencies.
getCss()
Get all the CSS files used by the application.
Get all npm packages needed only for development.
Get all ES6 modules needed for run the application.
Get all ES6 modules needed only in development mode.
Get all npm packages the application depends on.
Get the
PwaConfiguration
of the application.Get all the JS files used by the application.
Get all the JS files needed only in development mode.
getTheme()
Get the
AbstractTheme
instance used in the application.Get the
ThemeDefinition
of the application.
-
Method Details
-
getPackages
Get all npm packages the application depends on.
Returns:
the npm packages
-
getDevPackages
Get all npm packages needed only for development.
Returns:
the `devDependencies` packages
-
getModules
Get all ES6 modules needed for run the application. Modules that are theme dependencies are guaranteed to precede other modules in the result.
Returns:
the JS modules
-
getModulesDevelopment
Get all ES6 modules needed only in development mode. Modules that are theme dependencies are guaranteed to precede other modules in the result.
Returns:
the JS modules
-
getScripts
Get all the JS files used by the application.
Returns:
the JS files
-
getScriptsDevelopment
Get all the JS files needed only in development mode.
Returns:
the JS files
-
getCss
Get all the CSS files used by the application.
Returns:
the CSS files
-
getThemeDefinition
ThemeDefinition getThemeDefinition()Get the
ThemeDefinition
of the application.Returns:
the theme definition
-
getTheme
AbstractTheme getTheme()Get the
AbstractTheme
instance used in the application.Returns:
the theme instance
-
getClasses
Get all Java classes considered when looking for used dependencies.
Returns:
the set of JS files
-
getPwaConfiguration
PwaConfiguration getPwaConfiguration()Get the
PwaConfiguration
of the application.Returns:
the PWA configuration
-