public class FrontendDependencies extends Object
FrontendDependenciesScanner.FrontendDependenciesScannerFactory| 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.
|
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() |
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 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 © 2020. All rights reserved.