Package com.vaadin.flow.server.frontend
Class TaskRunNpmInstall
java.lang.Object
com.vaadin.flow.server.frontend.TaskRunNpmInstall
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic class
Container for npm installation statistics. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Runs the given command.static TaskRunNpmInstall.Stats
Returns timing information for the last operation.
-
Method Details
-
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.
- Specified by:
execute
in interfaceFallibleCommand
- Throws:
ExecutionFailedException
- if there is an execution error
-
getLastInstallStats
Returns timing information for the last operation.- Returns:
- timing information
-