Class NodeWrapper

  • Direct Known Subclasses:
    NpmWrapper

    public abstract class NodeWrapper
    extends Object
    • Field Detail

      • projectSourceCodeDirectory

        protected final String projectSourceCodeDirectory
    • Constructor Detail

    • Method Detail

      • getDownloadFilePath

        public Path getDownloadFilePath()
      • getNodeExe

        protected Path getNodeExe()
      • getNodePaths

        protected NodePaths getNodePaths()
      • download

        public boolean download()
      • extract

        public boolean extract()
      • run

        public abstract boolean run​(String script)
        Executes the specified script.
        Parameters:
        script - The script to execute.
        Returns:
        A boolean indicating whether the script was executed successfully.