Class MSVSSHISTORY

All Implemented Interfaces:
Cloneable, MSVSSConstants

public class MSVSSHISTORY extends MSVSS
Performs History commands to Microsoft Visual SourceSafe.
  • Constructor Details

    • MSVSSHISTORY

      public MSVSSHISTORY()
  • Method Details

    • setRecursive

      public void setRecursive(boolean recursive)
      Retrieve history recursively. Defaults to false.
      Parameters:
      recursive - The boolean value for recursive.
    • setUser

      public void setUser(String user)
      Name of the user whose change history is generated.
      Parameters:
      user - The username.
    • setFromDate

      public void setFromDate(String fromDate)
      Date representing the 'start' of the range.
      Parameters:
      fromDate - The start date.
    • setToDate

      public void setToDate(String toDate)
      Date representing the 'end' of the range.
      Parameters:
      toDate - The end date.
    • setFromLabel

      public void setFromLabel(String fromLabel)
      Label representing the 'start' of the range.
      Parameters:
      fromLabel - The start label.
    • setToLabel

      public void setToLabel(String toLabel)
      Label representing the 'end' of the range.
      Parameters:
      toLabel - The end label.
    • setNumdays

      public void setNumdays(int numd)
      Number of days for comparison. Defaults to 2 days.
      Parameters:
      numd - The number of days.
    • setOutput

      public void setOutput(File outfile)
      Output file name for the history.
      Parameters:
      outfile - The output file name.
    • setDateFormat

      public void setDateFormat(String dateFormat)
      Format of dates in fromDate and toDate. Used when calculating dates with the numdays attribute. This string uses the formatting rules of SimpleDateFormat. Defaults to DateFormat.SHORT.
      Parameters:
      dateFormat - The date format.
    • setStyle

      public void setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
      Output style. Valid options are:
      • brief: -B Display a brief history.
      • codediff: -D Display line-by-line file changes.
      • nofile: -F- Do not display individual file updates in the project history.
      • default: No option specified. Display in Source Safe's default format.
      Parameters:
      attr - The history style: