Class TaskRunNpmInstall.Stats

  • Enclosing class:
    TaskRunNpmInstall

    public static class TaskRunNpmInstall.Stats
    extends Object
    Container for npm installation statistics.
    • Method Detail

      • getInstallTimeMs

        public long getInstallTimeMs()
        Gets the time spent running npm install.
        Returns:
        the time in milliseconds
      • getCleanupTimeMs

        public long getCleanupTimeMs()
        Gets the time spent doing cleanup before npm install.
        Returns:
        the time in milliseconds
      • getPackageManager

        public String getPackageManager()
        Gets the package manager used for installation.
        Returns:
        the name of the package manager