public class FrontendDependencies extends Object implements Serializable
| 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<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 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 Set<String> getModules()
public Set<String> getScripts()
public Set<String> getClasses()
public ThemeDefinition getThemeDefinition()
ThemeDefinition of the application.public AbstractTheme getTheme()
AbstractTheme instance used in the application.Copyright © 2000–2019 Vaadin Ltd. All rights reserved.