Package com.vaadin.flow.server.frontend
Interface EndpointGeneratorTaskFactory
-
public interface EndpointGeneratorTaskFactoryA 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 Instance Methods Abstract Methods Modifier and Type Method Description TaskGenerateEndpointcreateTaskGenerateEndpoint(File applicationProperties, File openApi, File outputFolder, File frontendDirectory)Create a task for generating TS files based.TaskGenerateOpenAPIcreateTaskGenerateOpenAPI(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. notnulloutputFolder- the output folder. notnullfrontendDirectory- 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. notnullclassLoader- The class loader which should be used to resolved types in the source paths. notnulloutput- the output path of the generated json file. notnull- Returns:
- an endpoint task that generates open api json file.
-
-