You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.frontend.

Interface TaskGenerateHilla

  • All Superinterfaces:

    FallibleCommand

    public interface TaskGenerateHilla
    extends FallibleCommand

    Generate the Vaadin TS files for endpoints, and the Client API file. It uses the new Maven/Gradle plugin based generator.

    For internal use only. May be renamed or removed in a future release.

    • Method Summary

      All Methods
      Modifier and Type Method Description
      default void configure​(File projectDirectory, String buildDirectoryName)

      Configures the task by passing it some parameters.

    • Method Detail

      • configure

        default void configure​(File projectDirectory,
                               String buildDirectoryName)

        Configures the task by passing it some parameters.

        Parameters:

        projectDirectory - the project root directory. In a Maven multi-module project, this is the module root, not the main project one.

        buildDirectoryName - the name of the build directory (i.e. "build" or "target").