public class FrontendWebComponentGenerator extends Object implements Serializable
WebComponentModulesWriter
to
generate web component modules files from
WebComponentExporter
implementations found
by ClassFinder
.Constructor and Description |
---|
FrontendWebComponentGenerator(ClassFinder finder)
Creates a new instances and stores the
finder to be used for
locating
WebComponentModulesWriter and
WebComponentExporter classes. |
public FrontendWebComponentGenerator(ClassFinder finder)
finder
to be used for
locating
WebComponentModulesWriter
and
WebComponentExporter
classes.finder
- ClassFinder
implementationpublic Set<File> generateWebComponents(File outputDirectory)
WebComponentModulesWriter
class and classes that extend
WebComponentExporter
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 © 2019. All rights reserved.