public class WebComponentModulesGenerator
extends com.vaadin.flow.migration.ClassPathIntrospector
WebComponentModulesWriter to
generate web component modules files from
WebComponentExporter/WebComponentExporterFactory
implementations found by
ClassPathIntrospector.| Constructor and Description |
|---|
WebComponentModulesGenerator(com.vaadin.flow.migration.ClassPathIntrospector introspector)
Creates a new instances and stores the
introspector to be used
for locating
WebComponentModulesWriter
class and
WebComponentExporter/WebComponentExporterFactory
implementations. |
| Modifier and Type | Method and Description |
|---|---|
Set<File> |
generateWebComponentModules(File outputDirectory)
Collects
WebComponentModulesWriter
class and classes that extend WebComponentExporter or
WebComponentExporterFactory using inspector. |
public WebComponentModulesGenerator(com.vaadin.flow.migration.ClassPathIntrospector introspector)
introspector to be used
for locating
WebComponentModulesWriter
class and
WebComponentExporter/WebComponentExporterFactory
implementations.introspector - ClassPathIntrospector
implementation to use as a base.public Set<File> generateWebComponentModules(File outputDirectory)
WebComponentModulesWriter
class and classes that extend WebComponentExporter or
WebComponentExporterFactory using inspector. Generates web component modules and places the into the
outputDirectory.outputDirectory - target directory for the web component module filesIllegalStateException - if inspector cannot locate required classesCopyright © 2026. All rights reserved.