All Implemented Interfaces:
Cloneable, MSVSSConstants

public class MSVSSADD extends MSVSS
Performs Add commands to Microsoft Visual SourceSafe.
  • Constructor Details

    • MSVSSADD

      public MSVSSADD()
  • Method Details

    • buildCmdLine

      protected Commandline buildCmdLine()
      Builds a command line to execute ss.
      Returns:
      The constructed commandline.
    • getLocalpath

      protected String getLocalpath()
      Returns the local path without the flag.; required
      Overrides:
      getLocalpath in class MSVSS
      Returns:
      The local path value.
      To do:
      See why this returns the local path without the flag.
    • setRecursive

      public void setRecursive(boolean recursive)
      Add files recursively. Defaults to false.
      Parameters:
      recursive - The boolean value for recursive.
    • setWritable

      public final void setWritable(boolean writable)
      Unset the READ-ONLY flag on local copies of files added to VSS. Defaults to false.
      Parameters:
      writable - The boolean value for writable.
    • setAutoresponse

      public void setAutoresponse(String response)
      Autoresponse behaviour. Valid options are Y and N.
      Parameters:
      response - The auto response value.
    • setComment

      public void setComment(String comment)
      Comment to apply to files added to SourceSafe.
      Parameters:
      comment - The comment to apply in SourceSafe
    • setLocalpath

      public void setLocalpath(Path localPath)
      Override the project working directory.
      Parameters:
      localPath - The path on disk.