You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2006/11/11 23:33:39 UTC
svn commit: r473818 - in
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss:
MSVSS.java MSVSSConstants.java
Author: peterreilly
Date: Sat Nov 11 14:33:39 2006
New Revision: 473818
URL: http://svn.apache.org/viewvc?view=rev&rev=473818
Log:
javadoc
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java?view=diff&rev=473818&r1=473817&r2=473818
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java Sat Nov 11 14:33:39 2006
@@ -186,90 +186,178 @@
// Special setters for the sub-classes
+ /**
+ * Set the internal comment attribute.
+ * @param comment the value to use.
+ */
protected void setInternalComment(final String comment) {
this.comment = comment;
}
+ /**
+ * Set the auto response attribute.
+ * @param autoResponse the value to use.
+ */
protected void setInternalAutoResponse(final String autoResponse) {
this.autoResponse = autoResponse;
}
+ /**
+ * Set the date attribute.
+ * @param date the value to use.
+ */
protected void setInternalDate(final String date) {
this.date = date;
}
+ /**
+ * Set the date format attribute.
+ * @param dateFormat the value to use.
+ */
protected void setInternalDateFormat(final DateFormat dateFormat) {
this.dateFormat = dateFormat;
}
+ /**
+ * Set the failOnError attribute.
+ * @param failOnError the value to use.
+ */
protected void setInternalFailOnError(final boolean failOnError) {
this.failOnError = failOnError;
}
+ /**
+ * Set the from date attribute.
+ * @param fromDate the value to use.
+ */
protected void setInternalFromDate(final String fromDate) {
this.fromDate = fromDate;
}
+ /**
+ * Set the from label attribute.
+ * @param fromLabel the value to use.
+ */
protected void setInternalFromLabel(final String fromLabel) {
this.fromLabel = fromLabel;
}
+ /**
+ * Set the label attribute.
+ * @param label the value to use.
+ */
protected void setInternalLabel(final String label) {
this.label = label;
}
+ /**
+ * Set the local path comment attribute.
+ * @param localPath the value to use.
+ */
protected void setInternalLocalPath(final String localPath) {
this.localPath = localPath;
}
+ /**
+ * Set the num days attribute.
+ * @param numDays the value to use.
+ */
protected void setInternalNumDays(final int numDays) {
this.numDays = numDays;
}
+ /**
+ * Set the outputFileName comment attribute.
+ * @param outputFileName the value to use.
+ */
protected void setInternalOutputFilename(final String outputFileName) {
this.outputFileName = outputFileName;
}
+ /**
+ * Set the quiet attribute.
+ * @param quiet the value to use.
+ */
protected void setInternalQuiet(final boolean quiet) {
this.quiet = quiet;
}
+ /**
+ * Set the recursive attribute.
+ * @param recursive the value to use.
+ */
protected void setInternalRecursive(final boolean recursive) {
this.recursive = recursive;
}
+ /**
+ * Set the style attribute.
+ * @param style the value to use.
+ */
protected void setInternalStyle(final String style) {
this.style = style;
}
+ /**
+ * Set the to date attribute.
+ * @param toDate the value to use.
+ */
protected void setInternalToDate(final String toDate) {
this.toDate = toDate;
}
+ /**
+ * Set the to label attribute.
+ * @param toLabel the value to use.
+ */
protected void setInternalToLabel(final String toLabel) {
this.toLabel = toLabel;
}
+ /**
+ * Set the user attribute.
+ * @param user the value to use.
+ */
protected void setInternalUser(final String user) {
this.user = user;
}
+ /**
+ * Set the version attribute.
+ * @param version the value to use.
+ */
protected void setInternalVersion(final String version) {
this.version = version;
}
+ /**
+ * Set the writable attribute.
+ * @param writable the value to use.
+ */
protected void setInternalWritable(final boolean writable) {
this.writable = writable;
}
+ /**
+ * Set the timestamp attribute.
+ * @param timestamp the value to use.
+ */
protected void setInternalFileTimeStamp(final CurrentModUpdated timestamp) {
this.timestamp = timestamp;
}
+ /**
+ * Set the writableFiles attribute.
+ * @param writableFiles the value to use.
+ */
protected void setInternalWritableFiles(final WritableFiles writableFiles) {
this.writableFiles = writableFiles;
}
+ /**
+ * Set the getLocalCopy attribute.
+ * @param getLocalCopy the value to use.
+ */
protected void setInternalGetLocalCopy(final boolean getLocalCopy) {
this.getLocalCopy = getLocalCopy;
}
@@ -498,7 +586,7 @@
/**
* Gets the Version date string.
* @return An empty string if neither Todate or from date are set.
- * @throws BuildException
+ * @throws BuildException if there is an error.
*/
protected String getVersionDate() throws BuildException {
if (fromDate == null && toDate == null
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java?view=diff&rev=473818&r1=473817&r2=473818
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java Sat Nov 11 14:33:39 2006
@@ -67,32 +67,60 @@
/** The text for failing on writable files */
String WRITABLE_FAIL = "fail";
+ /** -Y flag */
String FLAG_LOGIN = "-Y";
+ /** -GL flag */
String FLAG_OVERRIDE_WORKING_DIR = "-GL";
+ /** -I- flag */
String FLAG_AUTORESPONSE_DEF = "-I-";
+ /** -I-Y flag */
String FLAG_AUTORESPONSE_YES = "-I-Y";
+ /** -I-N flag */
String FLAG_AUTORESPONSE_NO = "-I-N";
+ /** -R flag */
String FLAG_RECURSION = "-R";
+ /** -V flag */
String FLAG_VERSION = "-V";
+ /** -Vd flag */
String FLAG_VERSION_DATE = "-Vd";
+ /** -VL flag */
String FLAG_VERSION_LABEL = "-VL";
+ /** -W flag */
String FLAG_WRITABLE = "-W";
+ /** -N flag */
String VALUE_NO = "-N";
+ /** -Y flag */
String VALUE_YES = "-Y";
+ /** -O- flag */
String FLAG_QUIET = "-O-";
+ /** -C flag */
String FLAG_COMMENT = "-C";
+ /** -L flag */
String FLAG_LABEL = "-L";
+ /** ~d flag */
String VALUE_FROMDATE = "~d";
+ /** ~L flag */
String VALUE_FROMLABEL = "~L";
+ /** -O flag */
String FLAG_OUTPUT = "-O";
+ /** -U flag */
String FLAG_USER = "-U";
+ /** -F- flag */
String FLAG_NO_FILE = "-F-";
+ /** -B flag */
String FLAG_BRIEF = "-B";
+ /** -D flag */
String FLAG_CODEDIFF = "-D";
+ /** -GTC flag */
String FLAG_FILETIME_DEF = "-GTC";
+ /** -GTM flag */
String FLAG_FILETIME_MODIFIED = "-GTM";
+ /** -GTU flag */
String FLAG_FILETIME_UPDATED = "-GTU";
+ /** -GWR flag */
String FLAG_REPLACE_WRITABLE = "-GWR";
+ /** -GWS flag */
String FLAG_SKIP_WRITABLE = "-GWS";
+ /** -G- flag */
String FLAG_NO_GET = "-G-";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org