Interface FrontendDependenciesScanner
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
FrontendDependencies
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 classFrontend 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 ES6 modules needed for run the application.Get all npm packages the application depends on.Get thePwaConfigurationof the application.Get all the JS files used by the application.getTheme()Get theAbstractThemeinstance used in the application.Get theThemeDefinitionof the application.
-
Method Details
-
getPackages
Get all npm packages the application depends on.- Returns:
- the set of npm 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:
- list of JS modules
-
getScripts
Get all the JS files used by the application.- Returns:
- the set of JS files
-
getCss
Get all the CSS files used by the application.- Returns:
- the set of CSS files
-
getThemeDefinition
ThemeDefinition getThemeDefinition()Get theThemeDefinitionof the application.- Returns:
- the theme definition
-
getTheme
AbstractTheme getTheme()Get theAbstractThemeinstance 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 thePwaConfigurationof the application.- Returns:
- the PWA configuration
-