| Package | Description |
|---|---|
| com.vaadin.generator |
| Modifier and Type | Method and Description |
|---|---|
ComponentGenerator |
ComponentGenerator.withAbstractClass(boolean abstractClass)
When set to
true, the generated class will be marked as
abstract. |
ComponentGenerator |
ComponentGenerator.withBasePackage(String basePackage)
Set the base package that will be used.
|
ComponentGenerator |
ComponentGenerator.withClassNamePrefix(String classNamePrefix)
Set a prefix for the name of all generated classes.
|
ComponentGenerator |
ComponentGenerator.withFluentMethods(boolean fluentMethods)
Set whether the generator should use fluent Methods - methods that return
the own object so it's possible to use method chaining.
|
ComponentGenerator |
ComponentGenerator.withFrontendDirectory(String frontendDirectory)
Set the import frontend base package.
|
ComponentGenerator |
ComponentGenerator.withJsonFile(File jsonFile)
Set the input JSON file.
|
ComponentGenerator |
ComponentGenerator.withLicenseNote(String licenseNote)
Set the license header notice for the file.
|
ComponentGenerator |
ComponentGenerator.withProtectedMethods(boolean protectedMethods)
When set to
true, all generated methods will be protected. |
ComponentGenerator |
ComponentGenerator.withTargetPath(File targetPath)
Set the target output directory.
|
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.