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

Class TaskUpdateImports

  • All Implemented Interfaces:

    FallibleCommand

    public class TaskUpdateImports
    extends NodeUpdater

    An updater that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run in order to update Flow imports file and node_module/@vaadin/flow-frontend contents by visiting all classes with JsModule and Theme annotations.

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

    Since:

    2.0

    • Method Detail

      • execute

        public void execute()

        Description copied from interface: FallibleCommand

        Runs the given command.

        If execution fails then the command may throw an exception which may give a message and a cause of the failure.