com.vaadin.flow.server.frontend.
Interface EndpointGeneratorTaskFactory
-
public interface EndpointGeneratorTaskFactory
A factory for creating Vaadin Endpoint generator tasks.
For internal use only. May be renamed or removed in a future release.
Since:
6.0
Author:
Vaadin Ltd.
-
-
Method Summary
All Methods Modifier and Type Method Description TaskGenerateEndpoint
createTaskGenerateEndpoint(File applicationProperties, File openApi, File outputFolder, File frontendDirectory)
Create a task for generating TS files based.
TaskGenerateOpenAPI
createTaskGenerateOpenAPI(File properties, File javaSourceFolder, ClassLoader classLoader, File output)
Create a task for generating OpenAPI spec.
-
-
-
Method Detail
-
createTaskGenerateEndpoint
TaskGenerateEndpoint createTaskGenerateEndpoint(File applicationProperties, File openApi, File outputFolder, File frontendDirectory)
Create a task for generating TS files based.
Parameters:
applicationProperties
- application properties file.openApi
- openApi json file. notnull
outputFolder
- the output folder. notnull
frontendDirectory
- the frontend folder.Returns:
an endpoint tasks for generating TypeScript files for endpoints.
-
createTaskGenerateOpenAPI
TaskGenerateOpenAPI createTaskGenerateOpenAPI(File properties, File javaSourceFolder, ClassLoader classLoader, File output)
Create a task for generating OpenAPI spec.
Parameters:
properties
- application properties file.javaSourceFolder
- source paths of the project containing Vaadin Endpoint. notnull
classLoader
- The class loader which should be used to resolved types in the source paths. notnull
output
- the output path of the generated json file. notnull
Returns:
an endpoint task that generates open api json file.
-
-