Package com.vaadin.flow.server.frontend
Class TaskRunNpmInstall
- java.lang.Object
-
- com.vaadin.flow.server.frontend.TaskRunNpmInstall
-
- All Implemented Interfaces:
FallibleCommand
public class TaskRunNpmInstall extends Object implements FallibleCommand
Runnpm installafter 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 classTaskRunNpmInstall.StatsContainer for npm installation statistics.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Runs the given command.static TaskRunNpmInstall.StatsgetLastInstallStats()Returns timing information for the last operation.
-
-
-
Method Detail
-
execute
public void execute() throws ExecutionFailedExceptionDescription copied from interface:FallibleCommandRuns 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:
executein 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
-
-