com.vaadin.flow.server.frontend.scanner.
Interface FrontendDependenciesScanner
-
All Superinterfaces:
All Known Implementing Classes:
public interface FrontendDependenciesScanner extends Serializable
Frontend dependencies scanner.
For internal use only. May be renamed or removed in a future release.
Since:
Author:
Vaadin Ltd
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FrontendDependenciesScanner.FrontendDependenciesScannerFactory
Frontend dependencies scanner factory.
-
Method Summary
All Methods Modifier and Type Method Description Set<String>
getClasses()
Get all Java classes considered when looking for used dependencies.
Set<CssData>
getCss()
Get all the CSS files used by the application.
List<String>
getModules()
Get all ES6 modules needed for run the application.
Map<String,String>
getPackages()
Get all npm packages the application depends on.
PwaConfiguration
getPwaConfiguration()
Get the
PwaConfiguration
of the application.Set<String>
getScripts()
Get all the JS files used by the application.
AbstractTheme
getTheme()
Get the
AbstractTheme
instance used in the application.ThemeDefinition
getThemeDefinition()
Get the
ThemeDefinition
of the application.
-
-
-
Method Detail
-
getPackages
Map<String,String> getPackages()
Get all npm packages the application depends on.
Returns:
the set of npm packages
-
getModules
List<String> 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
Set<String> getScripts()
Get all the JS files used by the application.
Returns:
the set of JS files
-
getCss
Set<CssData> getCss()
Get all the CSS files used by the application.
Returns:
the set of 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
Set<String> 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
-
-