org.apache.tools.ant.taskdefs.optional.vss

Class MSVSSHISTORY

public class MSVSSHISTORY extends MSVSS

Performs History commands to Microsoft Visual SourceSafe.

UNKNOWN: name="vsshistory" category="scm"

Nested Class Summary
static classMSVSSHISTORY.BriefCodediffNofile
Extention of EnumeratedAttribute to hold the values for style.
Method Summary
voidsetDateFormat(String dateFormat)
Format of dates in fromDatetoDate.
voidsetFromDate(String fromDate)
Date representing the 'start' of the range.
voidsetFromLabel(String fromLabel)
Label representing the 'start' of the range.
voidsetNumdays(int numd)
Number of days for comparison.
voidsetOutput(File outfile)
Output file name for the history.
voidsetRecursive(boolean recursive)
Retrieve history recursively.
voidsetStyle(MSVSSHISTORY.BriefCodediffNofile attr)
Output style.
voidsetToDate(String toDate)
Date representing the 'end' of the range.
voidsetToLabel(String toLabel)
Label representing the 'end' of the range.
voidsetUser(String user)
Name of the user whose change history is generated.

Method Detail

setDateFormat

public void setDateFormat(String dateFormat)
Format of dates in fromDatetoDate. 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.

setFromDate

public void setFromDate(String fromDate)
Date representing the 'start' of the range.

Parameters: fromDate The start date.

setFromLabel

public void setFromLabel(String fromLabel)
Label representing the 'start' of the range.

Parameters: fromLabel The start 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.

setRecursive

public void setRecursive(boolean recursive)
Retrieve history recursively. Defaults to false.

Parameters: recursive The boolean value for recursive.

setStyle

public void setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
Output style. Valid options are:

Parameters: attr The history style:

setToDate

public void setToDate(String toDate)
Date representing the 'end' of the range.

Parameters: toDate The end date.

setToLabel

public void setToLabel(String toLabel)
Label representing the 'end' of the range.

Parameters: toLabel The end label.

setUser

public void setUser(String user)
Name of the user whose change history is generated.

Parameters: user The username.