Package com.vaadin.flow.server.frontend
Class TaskRunNpmInstall.Stats
- java.lang.Object
-
- com.vaadin.flow.server.frontend.TaskRunNpmInstall.Stats
-
- Enclosing class:
- TaskRunNpmInstall
public static class TaskRunNpmInstall.Stats extends Object
Container for npm installation statistics.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCleanupTimeMs()
Gets the time spent doing cleanup beforenpm install
.long
getInstallTimeMs()
Gets the time spent runningnpm install
.String
getPackageManager()
Gets the package manager used for installation.
-
-
-
Method Detail
-
getInstallTimeMs
public long getInstallTimeMs()
Gets the time spent runningnpm install
.- Returns:
- the time in milliseconds
-
getCleanupTimeMs
public long getCleanupTimeMs()
Gets the time spent doing cleanup beforenpm install
.- Returns:
- the time in milliseconds
-
getPackageManager
public String getPackageManager()
Gets the package manager used for installation.- Returns:
- the name of the package manager
-
-