All Implemented Interfaces:
java.lang.Cloneable, MSVSSConstants

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

  • Method Details

    • buildCmdLine

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

      protected java.lang.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​(java.lang.String response)
      Autoresponse behaviour. Valid options are Y and N.
      Parameters:
      response - The auto response value.
    • setComment

      public void setComment​(java.lang.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.