We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.connect.generator.
Class VaadinConnectClientGenerator
- java.lang.Object
-
- com.vaadin.flow.server.connect.generator.VaadinConnectClientGenerator
-
public class VaadinConnectClientGenerator extends Object
Generates the Vaadin connect-client file, based on the application properties, if provided.
-
-
Field Summary
Fields Modifier and Type Field and Description static String
CONNECT_CLIENT_IMPORT_PATH
static String
CONNECT_CLIENT_NAME
static String
CUSTOM_CONNECT_CLIENT_NAME
-
Constructor Summary
Constructors Constructor and Description VaadinConnectClientGenerator(Properties applicationProperties)
Creates the generator, getting the data needed for the generation out of the application properties.
-
Method Summary
All Methods Modifier and Type Method and Description void
generateVaadinConnectClientFile(Path outputFilePath)
Generates the client file in the file specified.
-
-
-
Field Detail
-
CONNECT_CLIENT_NAME
public static final String CONNECT_CLIENT_NAME
See Also:
-
CUSTOM_CONNECT_CLIENT_NAME
public static final String CUSTOM_CONNECT_CLIENT_NAME
See Also:
-
CONNECT_CLIENT_IMPORT_PATH
public static final String CONNECT_CLIENT_IMPORT_PATH
See Also:
-
-
Constructor Detail
-
VaadinConnectClientGenerator
public VaadinConnectClientGenerator(Properties applicationProperties)
Creates the generator, getting the data needed for the generation out of the application properties.
Parameters:
applicationProperties
- the properties with the data required for the generation
-
-
Method Detail
-
generateVaadinConnectClientFile
public void generateVaadinConnectClientFile(Path outputFilePath)
Generates the client file in the file specified.
Parameters:
outputFilePath
- the file to generate the default client into
-
-