com.vaadin.flow.server.frontend.

Class TaskUpdatePackages

  • All Implemented Interfaces:

    FallibleCommand


    public class TaskUpdatePackages
    extends NodeUpdater

    Updates package.json by visiting NpmPackage annotations found in the classpath. It also visits classes annotated with NpmPackage

    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.