org.apache.tools.ant.taskdefs.optional.vss
Class MSVSSHISTORY
- MSVSSConstants
public class MSVSSHISTORY
Performs History commands to Microsoft Visual SourceSafe.
COMMAND_ADD, COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CP, COMMAND_CREATE, COMMAND_GET, COMMAND_HISTORY, COMMAND_LABEL, FLAG_AUTORESPONSE_DEF, FLAG_AUTORESPONSE_NO, FLAG_AUTORESPONSE_YES, FLAG_BRIEF, FLAG_CODEDIFF, FLAG_COMMENT, FLAG_FILETIME_DEF, FLAG_FILETIME_MODIFIED, FLAG_FILETIME_UPDATED, FLAG_LABEL, FLAG_LOGIN, FLAG_NO_FILE, FLAG_NO_GET, FLAG_OUTPUT, FLAG_OVERRIDE_WORKING_DIR, FLAG_QUIET, FLAG_RECURSION, FLAG_REPLACE_WRITABLE, FLAG_SKIP_WRITABLE, FLAG_USER, FLAG_VERSION, FLAG_VERSION_DATE, FLAG_VERSION_LABEL, FLAG_WRITABLE, PROJECT_PREFIX, SS_EXE, STYLE_BRIEF, STYLE_CODEDIFF, STYLE_DEFAULT, STYLE_NOFILE, TIME_CURRENT, TIME_MODIFIED, TIME_UPDATED, VALUE_FROMDATE, VALUE_FROMLABEL, VALUE_NO, VALUE_YES, WRITABLE_FAIL, WRITABLE_REPLACE, WRITABLE_SKIP |
void | setDateFormat(String dateFormat)- Format of dates in
fromDatetoDate.
|
void | setFromDate(String fromDate)- Date representing the 'start' of the range.
|
void | setFromLabel(String fromLabel)- Label representing the 'start' of the range.
|
void | setNumdays(int numd)- Number of days for comparison.
|
void | setOutput(File outfile)- Output file name for the history.
|
void | setRecursive(boolean recursive)- Retrieve history recursively.
|
void | setStyle(MSVSSHISTORY.BriefCodediffNofile attr)- Output style.
|
void | setToDate(String toDate)- Date representing the 'end' of the range.
|
void | setToLabel(String toLabel)- Label representing the 'end' of the range.
|
void | setUser(String user)- Name of the user whose change history is generated.
|
execute, getAutoresponse, getComment, getFileTimeStamp, getGetLocalCopy, getLabel, getLocalpath, getLogin, getOutput, getQuiet, getRecursive, getSSCommand, getStyle, getUser, getVersion, getVersionDate, getVersionDateLabel, getVersionLabel, getVsspath, getWritable, getWritableFiles, setFailOnError, setInternalAutoResponse, setInternalComment, setInternalDate, setInternalDateFormat, setInternalFailOnError, setInternalFileTimeStamp, setInternalFromDate, setInternalFromLabel, setInternalGetLocalCopy, setInternalLabel, setInternalLocalPath, setInternalNumDays, setInternalOutputFilename, setInternalQuiet, setInternalRecursive, setInternalStyle, setInternalToDate, setInternalToLabel, setInternalUser, setInternalVersion, setInternalWritable, setInternalWritableFiles, setLogin, setServerpath, setSsdir, setVsspath |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
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.
dateFormat - The date format.
setFromDate
public void setFromDate(String fromDate)
Date representing the 'start' of the range.
fromDate - The start date.
setFromLabel
public void setFromLabel(String fromLabel)
Label representing the 'start' of the range.
fromLabel - The start label.
setNumdays
public void setNumdays(int numd)
Number of days for comparison.
Defaults to 2 days.
numd - The number of days.
setOutput
public void setOutput(File outfile)
Output file name for the history.
outfile - The output file name.
setRecursive
public void setRecursive(boolean recursive)
Retrieve history recursively. Defaults to false.
recursive - The boolean value for recursive.
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.
attr - The history style:
setToDate
public void setToDate(String toDate)
Date representing the 'end' of the range.
toDate - The end date.
setToLabel
public void setToLabel(String toLabel)
Label representing the 'end' of the range.
toLabel - The end label.
setUser
public void setUser(String user)
Name of the user whose change history is generated.
user - The username.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.