We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.frontend.
Class TaskRunNpmInstall
- java.lang.Object
-
- com.vaadin.flow.server.frontend.TaskRunNpmInstall
-
All Implemented Interfaces:
public class TaskRunNpmInstall extends Object implements FallibleCommand
Run
npm install
after dependencies have been updated.For internal use only. May be renamed or removed in a future release.
Since:
2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskRunNpmInstall.Stats
Container for npm installation statistics.
-
Method Summary
All Methods Modifier and Type Method Description void
execute()
Runs the given command.
static TaskRunNpmInstall.Stats
getLastInstallStats()
Returns timing information for the last operation.
-
-
-
Method Detail
-
execute
public void execute() throws ExecutionFailedException
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.
Specified by:
execute
in interfaceFallibleCommand
Throws:
ExecutionFailedException
- if there is an execution error
-
getLastInstallStats
public static TaskRunNpmInstall.Stats getLastInstallStats()
Returns timing information for the last operation.
Returns:
timing information
-
-