|
MSVSSHISTORY (Apache Ant API)
org.apache.tools.ant.taskdefs.optional.vss
|
Nested Class Summary | |
static class |
MSVSSHISTORY.BriefCodediffNofile
|
Field Summary | |
static java.lang.String |
FLAG_OUTPUT
|
static java.lang.String |
FLAG_USER
|
static java.lang.String |
VALUE_FROMDATE
|
static java.lang.String |
VALUE_FROMLABEL
|
Fields inherited from class org.apache.tools.ant.taskdefs.optional.vss.MSVSS |
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_LOGIN, FLAG_OVERRIDE_WORKING_DIR, FLAG_QUIET, FLAG_RECURSION, FLAG_VERSION, FLAG_VERSION_DATE, FLAG_VERSION_LABEL, FLAG_WRITABLE, PROJECT_PREFIX, VALUE_NO, VALUE_YES |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
MSVSSHISTORY()
|
Method Summary | |
void |
execute()
Executes the task. |
void |
setDateFormat(java.lang.String dateFormat)
Format of dates in fromDate and toDate; optional. |
void |
setFromDate(java.lang.String fromDate)
Set the Start Date for the Comparison of two versions; optional. |
void |
setFromLabel(java.lang.String fromLabel)
Set the Start Label; optional |
void |
setNumdays(int numd)
Set the number of days for comparison; optional. |
void |
setOutput(java.io.File outfile)
Set the output file name for the history; optional. |
void |
setRecursive(boolean recursive)
Flag to tell the task to recurse down the tree; optional, default false. |
void |
setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
Specify the output style; optional. |
void |
setToDate(java.lang.String toDate)
Set the End Date for the Comparison of two versions; optional. |
void |
setToLabel(java.lang.String toLabel)
Set the End Label ; optional |
void |
setUser(java.lang.String user)
Name the user whose changes we would like to see; optional |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.vss.MSVSS |
getLoginCommand, getSSCommand, getVsspath, run, setLogin, setServerpath, setSsdir, setVsspath |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String VALUE_FROMDATE
public static final java.lang.String VALUE_FROMLABEL
public static final java.lang.String FLAG_OUTPUT
public static final java.lang.String FLAG_USER
Constructor Detail |
public MSVSSHISTORY()
Method Detail |
public void execute() throws BuildException
Builds a command line to execute ss and then calls Exec's run method to execute the command line.
BuildException
- if something goes wrong with the buildpublic void setFromDate(java.lang.String fromDate)
public void setFromLabel(java.lang.String fromLabel)
public void setToLabel(java.lang.String toLabel)
public void setToDate(java.lang.String toDate)
public void setNumdays(int numd)
The default value is 2 days. (maybe)
public void setOutput(java.io.File outfile)
public void setDateFormat(java.lang.String dateFormat)
public void setRecursive(boolean recursive)
public void setUser(java.lang.String user)
public void setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |