All Implemented Interfaces:
Cloneable, MSVSSConstants

public class MSVSSGET extends MSVSS
Perform Get commands from Microsoft Visual SourceSafe.
  • Constructor Details

    • MSVSSGET

      public MSVSSGET()
  • Method Details

    • setLocalpath

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

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

      public final void setQuiet(boolean quiet)
      Enable quiet mode. Defaults to false.
      Parameters:
      quiet - The boolean value for quiet.
    • setWritable

      public final void setWritable(boolean writable)
      Unset the READ-ONLY flag on files retrieved from VSS. Defaults to false.
      Parameters:
      writable - The boolean value for writable.
    • setVersion

      public void setVersion(String version)
      Version to get.
      Parameters:
      version - The version to get.
    • setDate

      public void setDate(String date)
      Date to get.
      Parameters:
      date - The date to get.
    • setLabel

      public void setLabel(String label)
      Label to get.
      Parameters:
      label - The label to get.
    • setAutoresponse

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

      public void setFileTimeStamp(MSVSS.CurrentModUpdated timestamp)
      Date and time stamp given to the local copy. Defaults to current.
      Parameters:
      timestamp - The file time stamping behaviour.
    • setWritableFiles

      public void setWritableFiles(MSVSS.WritableFiles files)
      Action taken when local files are writable. Defaults to fail.

      Due to ss.exe returning with an exit code of '100' for both errors and when a file has been skipped, failonerror is set to false when using the skip option.

      Parameters:
      files - The action to take.