public class MSVSSHISTORY extends MSVSS
Modifier and Type | Class and Description |
---|---|
static class |
MSVSSHISTORY.BriefCodediffNofile
Extention of EnumeratedAttribute to hold the values for style.
|
MSVSS.CurrentModUpdated, MSVSS.WritableFiles
description, location, project
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
Constructor and Description |
---|
MSVSSHISTORY() |
Modifier and Type | Method and Description |
---|---|
void |
setDateFormat(java.lang.String dateFormat)
Format of dates in
fromDate toDate. |
void |
setFromDate(java.lang.String fromDate)
Date representing the 'start' of the range.
|
void |
setFromLabel(java.lang.String fromLabel)
Label representing the 'start' of the range.
|
void |
setNumdays(int numd)
Number of days for comparison.
|
void |
setOutput(java.io.File outfile)
Output file name for the history.
|
void |
setRecursive(boolean recursive)
Retrieve history recursively.
|
void |
setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
Output style.
|
void |
setToDate(java.lang.String toDate)
Date representing the 'end' of the range.
|
void |
setToLabel(java.lang.String toLabel)
Label representing the 'end' of the range.
|
void |
setUser(java.lang.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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void setRecursive(boolean recursive)
recursive
- The boolean value for recursive.public void setUser(java.lang.String user)
user
- The username.public void setFromDate(java.lang.String fromDate)
fromDate
- The start date.public void setToDate(java.lang.String toDate)
toDate
- The end date.public void setFromLabel(java.lang.String fromLabel)
fromLabel
- The start label.public void setToLabel(java.lang.String toLabel)
toLabel
- The end label.public void setNumdays(int numd)
numd
- The number of days.public void setOutput(java.io.File outfile)
outfile
- The output file name.public void setDateFormat(java.lang.String dateFormat)
fromDate
toDate.
Used when calculating dates with the numdays attribute.
This string uses the formatting rules of SimpleDateFormat
.
Defaults to DateFormat.SHORT
.dateFormat
- The date format.public void setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
attr
- The history style: