public class FrontendDependencies extends Object
For internal use only. May be renamed or removed in a future release.
FrontendDependenciesScanner.FrontendDependenciesScannerFactory| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_INVALID_PWA_ANNOTATION |
static String |
LUMO |
| Constructor and Description |
|---|
FrontendDependencies(ClassFinder finder)
Default Constructor.
|
FrontendDependencies(ClassFinder finder,
boolean generateEmbeddableWebComponents)
Secondary constructor, which allows declaring whether embeddable web
components should be checked for resource dependencies.
|
| Modifier and Type | Method and 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.
|
Collection<EndPointData> |
getEndPoints()
Get all entryPoints in the application.
|
protected ClassFinder |
getFinder() |
protected Class<? extends AbstractTheme> |
getLumoTheme() |
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 PWA configuration 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. |
String |
toString() |
protected static final String ERROR_INVALID_PWA_ANNOTATION
public static final String LUMO
public FrontendDependencies(ClassFinder finder)
finder - the class finderpublic FrontendDependencies(ClassFinder finder, boolean generateEmbeddableWebComponents)
finder - the class findergenerateEmbeddableWebComponents - true checks the
WebComponentExporter classes
for dependencies. true is default for
FrontendDependencies(ClassFinder)public Map<String,String> getPackages()
public PwaConfiguration getPwaConfiguration()
public List<String> getModules()
public Set<String> getScripts()
public Set<CssData> getCss()
public Set<String> getClasses()
public Collection<EndPointData> getEndPoints()
public ThemeDefinition getThemeDefinition()
ThemeDefinition of the application.public AbstractTheme getTheme()
AbstractTheme instance used in the application.protected final ClassFinder getFinder()
protected Class<? extends AbstractTheme> getLumoTheme()
Copyright © 2025. All rights reserved.