public class FrontendWebComponentGenerator extends Object implements Serializable
WebComponentModulesWriter to
generate web component modules files from
WebComponentExporter or
WebComponentExporterFactory implementations found by
ClassFinder.
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
FrontendWebComponentGenerator(ClassFinder finder)
Creates a new instances and stores the
finder to be used for
locating
WebComponentModulesWriter and
WebComponentExporter/WebComponentExporterFactory
classes. |
| Modifier and Type | Method and Description |
|---|---|
Set<File> |
generateWebComponents(File outputDirectory)
Collects
WebComponentModulesWriter
class and classes that extend
WebComponentExporter/WebComponentExporterFactory
using finder. |
public FrontendWebComponentGenerator(ClassFinder finder)
finder to be used for
locating
WebComponentModulesWriter and
WebComponentExporter/WebComponentExporterFactory
classes.finder - ClassFinder
implementationpublic Set<File> generateWebComponents(File outputDirectory)
WebComponentModulesWriter
class and classes that extend
WebComponentExporter/WebComponentExporterFactory
using finder. Generates web component modules and places the into the outputDirectory.outputDirectory - target directory for the web component module filesIllegalStateException - if finder cannot locate required classesCopyright © 2021. All rights reserved.