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

Class AbstractTaskClientGenerator

    • Constructor Detail

      • AbstractTaskClientGenerator

        public AbstractTaskClientGenerator()
    • Method Detail

      • getFileContent

        protected abstract String getFileContent()
                                          throws IOException

        Get file content for writing to the generated file.

        Returns:

        content of the file.

        Throws:

        IOException - if IO error happens while reading file content.

      • getGeneratedFile

        protected abstract File getGeneratedFile()

        Get the generated file where content will be written.

        Returns:

        the generated file.

      • shouldGenerate

        protected abstract boolean shouldGenerate()

        Check if it should generate the file or not.

        Returns:

        true if it should generate, false otherwise.