Class EndpointGeneratorTaskFactoryImpl

java.lang.Object
com.vaadin.hilla.internal.EndpointGeneratorTaskFactoryImpl
All Implemented Interfaces:
com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory

public class EndpointGeneratorTaskFactoryImpl extends Object implements com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory
An implementation of the EndpointGeneratorTaskFactory, which creates endpoint generator tasks.
  • Constructor Details

    • EndpointGeneratorTaskFactoryImpl

      public EndpointGeneratorTaskFactoryImpl()
  • Method Details

    • createTaskGenerateEndpoint

      public com.vaadin.flow.server.frontend.TaskGenerateEndpoint createTaskGenerateEndpoint(com.vaadin.flow.server.frontend.Options options)
      The TypeScript of the endpoints is written by the task which walks the browser callable classes, since that is the run which has what the writers need, so there is nothing left for this one to do.
      Specified by:
      createTaskGenerateEndpoint in interface com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory
    • createTaskGenerateOpenAPI

      public com.vaadin.flow.server.frontend.TaskGenerateOpenAPI createTaskGenerateOpenAPI(com.vaadin.flow.server.frontend.Options options)
      Specified by:
      createTaskGenerateOpenAPI in interface com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory