public class ClientAPIGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECT_CLIENT_IMPORT_PATH |
static String |
CONNECT_CLIENT_NAME |
static String |
CUSTOM_CONNECT_CLIENT_NAME |
| Constructor and Description |
|---|
ClientAPIGenerator(Path outputDirectory,
Properties applicationProperties)
Creates the generator, getting the data needed for the generation out of
the application properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Generates the client file in the file specified.
|
Path |
getOutputFilePath()
Gets the path of the client API file.
|
public static final String CONNECT_CLIENT_IMPORT_PATH
public static final String CONNECT_CLIENT_NAME
public static final String CUSTOM_CONNECT_CLIENT_NAME
public ClientAPIGenerator(Path outputDirectory, Properties applicationProperties)
applicationProperties - the properties with the data required for the generationoutputDirectory - the directory to generate the default client intopublic void generate()
public Path getOutputFilePath()
Copyright © 2000–2022 Vaadin Ltd. All rights reserved.