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,
ThemeDefinition theme)
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, ThemeDefinition theme)
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 filestheme
- the theme defined using Theme
or null
if not
definedIllegalStateException
- if finder
cannot locate required classesCopyright © 2025. All rights reserved.