Class MSVSSHISTORY

java.lang.Object
All Implemented Interfaces:
java.lang.Cloneable, MSVSSConstants

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

  • 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​(java.lang.String user)
      Name of the user whose change history is generated.
      Parameters:
      user - The username.
    • setFromDate

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

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

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

      public void setToLabel​(java.lang.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​(java.io.File outfile)
      Output file name for the history.
      Parameters:
      outfile - The output file name.
    • setDateFormat

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