Class DockerAddCmd

    • Constructor Detail

      • DockerAddCmd

        public DockerAddCmd()
    • Method Detail

      • setRequest

        public void setRequest​(String plainLine)
        Description copied from interface: DockerFilePart
        Prepare request for Dockerfile translation.
        Specified by:
        setRequest in interface DockerFilePart
        Parameters:
        plainLine - the plain line
      • setRequest

        public void setRequest​(String newFile,
                               String filePath)
        Prepare specific ADD request line for translation and complete plainLine.
        Parameters:
        newFile - the new file
        filePath - the file path
      • translate

        public String translate()
        Description copied from interface: DockerFilePart
        Translate request for specific Dockerfile command line.
        Specified by:
        translate in interface DockerFilePart
        Returns:
        the string