[14982] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
| 2 | <!--NewPage-->
|
---|
| 3 | <HTML>
|
---|
| 4 | <HEAD>
|
---|
| 5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:29 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | P4Counter (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.perforce.P4Counter class">
|
---|
| 11 |
|
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
|
---|
| 13 |
|
---|
| 14 | <SCRIPT type="text/javascript">
|
---|
| 15 | function windowTitle()
|
---|
| 16 | {
|
---|
| 17 | parent.document.title="P4Counter (Apache Ant API)";
|
---|
| 18 | }
|
---|
| 19 | </SCRIPT>
|
---|
| 20 |
|
---|
| 21 | </HEAD>
|
---|
| 22 |
|
---|
| 23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
| 27 | <A NAME="navbar_top"><!-- --></A>
|
---|
| 28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
| 29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 30 | <TR>
|
---|
| 31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
| 33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 34 | <TR ALIGN="center" VALIGN="top">
|
---|
| 35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 42 | </TR>
|
---|
| 43 | </TABLE>
|
---|
| 44 | </TD>
|
---|
| 45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 46 | </EM>
|
---|
| 47 | </TD>
|
---|
| 48 | </TR>
|
---|
| 49 |
|
---|
| 50 | <TR>
|
---|
| 51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 52 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Change.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Delete.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 55 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 56 | <A HREF="P4Counter.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 57 | <SCRIPT type="text/javascript">
|
---|
| 58 | <!--
|
---|
| 59 | if(window==top) {
|
---|
| 60 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 61 | }
|
---|
| 62 | //-->
|
---|
| 63 | </SCRIPT>
|
---|
| 64 | <NOSCRIPT>
|
---|
| 65 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 66 | </NOSCRIPT>
|
---|
| 67 |
|
---|
| 68 | </FONT></TD>
|
---|
| 69 | </TR>
|
---|
| 70 | <TR>
|
---|
| 71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 72 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 75 | </TR>
|
---|
| 76 | </TABLE>
|
---|
| 77 | <A NAME="skip-navbar_top"></A>
|
---|
| 78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
| 79 |
|
---|
| 80 | <HR>
|
---|
| 81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
| 82 | <H2>
|
---|
| 83 | <FONT SIZE="-1">
|
---|
| 84 | org.apache.tools.ant.taskdefs.optional.perforce</FONT>
|
---|
| 85 | <BR>
|
---|
| 86 | Class P4Counter</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
| 90 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
| 91 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce">org.apache.tools.ant.taskdefs.optional.perforce.P4Base</A>
|
---|
| 92 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.perforce.P4Counter</B>
|
---|
| 93 | </PRE>
|
---|
| 94 | <HR>
|
---|
| 95 | <DL>
|
---|
| 96 | <DT>public class <B>P4Counter</B><DT>extends <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce">P4Base</A></DL>
|
---|
| 97 |
|
---|
| 98 | <P>
|
---|
| 99 | Obtains or sets the value of a counter.
|
---|
| 100 |
|
---|
| 101 | <p> When used in its base form
|
---|
| 102 | (where only the counter name is provided), the counter value will be
|
---|
| 103 | printed to the output stream. When the value is provided, the counter
|
---|
| 104 | will be set to the value provided. When a property name is provided,
|
---|
| 105 | the property will be filled with the value of the counter. You may
|
---|
| 106 | not specify to both get and set the value of the counter in the same
|
---|
| 107 | Task.
|
---|
| 108 | </p>
|
---|
| 109 | <P>
|
---|
| 110 | The user performing this task must have Perforce "review" permissions
|
---|
| 111 | as defined by Perforce protections in order for this task to succeed.
|
---|
| 112 | </P>
|
---|
| 113 |
|
---|
| 114 | Example Usage:<br>
|
---|
| 115 | <p4counter name="${p4.counter}" property=${p4.change}"/>
|
---|
| 116 | <P>
|
---|
| 117 |
|
---|
| 118 | <P>
|
---|
| 119 | <HR>
|
---|
| 120 |
|
---|
| 121 | <P>
|
---|
| 122 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 123 |
|
---|
| 124 |
|
---|
| 125 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 126 |
|
---|
| 127 | <A NAME="field_summary"><!-- --></A>
|
---|
| 128 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 129 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 130 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 131 | <B>Field Summary</B></FONT></TD>
|
---|
| 132 | </TR>
|
---|
| 133 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 134 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 135 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
| 136 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#counter">counter</A></B></CODE>
|
---|
| 137 |
|
---|
| 138 | <BR>
|
---|
| 139 | name of the counter</TD>
|
---|
| 140 | </TR>
|
---|
| 141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 143 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
| 144 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#property">property</A></B></CODE>
|
---|
| 145 |
|
---|
| 146 | <BR>
|
---|
| 147 | name of an optional property</TD>
|
---|
| 148 | </TR>
|
---|
| 149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 151 | <CODE> boolean</CODE></FONT></TD>
|
---|
| 152 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#shouldSetProperty">shouldSetProperty</A></B></CODE>
|
---|
| 153 |
|
---|
| 154 | <BR>
|
---|
| 155 | flag telling whether a property should be set</TD>
|
---|
| 156 | </TR>
|
---|
| 157 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 159 | <CODE> boolean</CODE></FONT></TD>
|
---|
| 160 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#shouldSetValue">shouldSetValue</A></B></CODE>
|
---|
| 161 |
|
---|
| 162 | <BR>
|
---|
| 163 | flag telling whether the value of the counter should be set</TD>
|
---|
| 164 | </TR>
|
---|
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 167 | <CODE> int</CODE></FONT></TD>
|
---|
| 168 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#value">value</A></B></CODE>
|
---|
| 169 |
|
---|
| 170 | <BR>
|
---|
| 171 | new value for the counter</TD>
|
---|
| 172 | </TR>
|
---|
| 173 | </TABLE>
|
---|
| 174 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.optional.perforce.P4Base"><!-- --></A>
|
---|
| 175 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 176 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 177 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.optional.perforce.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce">P4Base</A></B></TD>
|
---|
| 178 | </TR>
|
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 180 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#failOnError">failOnError</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#P4Client">P4Client</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#P4CmdOpts">P4CmdOpts</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#P4Opts">P4Opts</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#P4Port">P4Port</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#P4User">P4User</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#P4View">P4View</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#shell">shell</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#util">util</A></CODE></TD>
|
---|
| 181 | </TR>
|
---|
| 182 | </TABLE>
|
---|
| 183 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 184 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 185 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 186 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
| 187 | </TR>
|
---|
| 188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 189 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
| 190 | </TR>
|
---|
| 191 | </TABLE>
|
---|
| 192 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 193 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 194 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 195 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
| 196 | </TR>
|
---|
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 198 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
| 199 | </TR>
|
---|
| 200 | </TABLE>
|
---|
| 201 |
|
---|
| 202 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 203 |
|
---|
| 204 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 205 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 206 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 207 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 208 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 209 | </TR>
|
---|
| 210 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 211 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#P4Counter()">P4Counter</A></B>()</CODE>
|
---|
| 212 |
|
---|
| 213 | <BR>
|
---|
| 214 | </TD>
|
---|
| 215 | </TR>
|
---|
| 216 | </TABLE>
|
---|
| 217 |
|
---|
| 218 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 219 |
|
---|
| 220 | <A NAME="method_summary"><!-- --></A>
|
---|
| 221 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 222 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 223 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 224 | <B>Method Summary</B></FONT></TD>
|
---|
| 225 | </TR>
|
---|
| 226 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 228 | <CODE> void</CODE></FONT></TD>
|
---|
| 229 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#execute()">execute</A></B>()</CODE>
|
---|
| 230 |
|
---|
| 231 | <BR>
|
---|
| 232 | again, properties are mutable in this tsk</TD>
|
---|
| 233 | </TR>
|
---|
| 234 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 236 | <CODE> void</CODE></FONT></TD>
|
---|
| 237 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#setName(java.lang.String)">setName</A></B>(java.lang.String counter)</CODE>
|
---|
| 238 |
|
---|
| 239 | <BR>
|
---|
| 240 | The name of the counter; required</TD>
|
---|
| 241 | </TR>
|
---|
| 242 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 244 | <CODE> void</CODE></FONT></TD>
|
---|
| 245 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#setProperty(java.lang.String)">setProperty</A></B>(java.lang.String property)</CODE>
|
---|
| 246 |
|
---|
| 247 | <BR>
|
---|
| 248 | A property to be set with the value of the counter</TD>
|
---|
| 249 | </TR>
|
---|
| 250 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 252 | <CODE> void</CODE></FONT></TD>
|
---|
| 253 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Counter.html#setValue(int)">setValue</A></B>(int value)</CODE>
|
---|
| 254 |
|
---|
| 255 | <BR>
|
---|
| 256 | The new value for the counter; optional.</TD>
|
---|
| 257 | </TR>
|
---|
| 258 | </TABLE>
|
---|
| 259 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.optional.perforce.P4Base"><!-- --></A>
|
---|
| 260 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 261 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 262 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.optional.perforce.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce">P4Base</A></B></TD>
|
---|
| 263 | </TR>
|
---|
| 264 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 265 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#execP4Command(java.lang.String)">execP4Command</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#execP4Command(java.lang.String, org.apache.tools.ant.taskdefs.optional.perforce.P4Handler)">execP4Command</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#getErrorMessage()">getErrorMessage</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#getInError()">getInError</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#init()">init</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setClient(java.lang.String)">setClient</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setCmdopts(java.lang.String)">setCmdopts</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setErrorMessage(java.lang.String)">setErrorMessage</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setFailonerror(boolean)">setFailonerror</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setGlobalopts(java.lang.String)">setGlobalopts</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setInError(boolean)">setInError</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setPort(java.lang.String)">setPort</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setUser(java.lang.String)">setUser</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html#setView(java.lang.String)">setView</A></CODE></TD>
|
---|
| 266 | </TR>
|
---|
| 267 | </TABLE>
|
---|
| 268 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 269 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 270 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 271 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
| 272 | </TR>
|
---|
| 273 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 274 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
| 275 | </TR>
|
---|
| 276 | </TABLE>
|
---|
| 277 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 278 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 279 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 280 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
| 281 | </TR>
|
---|
| 282 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 283 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
| 284 | </TR>
|
---|
| 285 | </TABLE>
|
---|
| 286 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 287 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 288 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 289 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 290 | </TR>
|
---|
| 291 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 292 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 293 | </TR>
|
---|
| 294 | </TABLE>
|
---|
| 295 |
|
---|
| 296 | <P>
|
---|
| 297 |
|
---|
| 298 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 299 |
|
---|
| 300 | <A NAME="field_detail"><!-- --></A>
|
---|
| 301 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 302 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 303 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 304 | <B>Field Detail</B></FONT></TD>
|
---|
| 305 | </TR>
|
---|
| 306 | </TABLE>
|
---|
| 307 |
|
---|
| 308 | <A NAME="counter"><!-- --></A><H3>
|
---|
| 309 | counter</H3>
|
---|
| 310 | <PRE>
|
---|
| 311 | public java.lang.String <B>counter</B></PRE>
|
---|
| 312 | <DL>
|
---|
| 313 | <DD>name of the counter
|
---|
| 314 | <P>
|
---|
| 315 | <DL>
|
---|
| 316 | </DL>
|
---|
| 317 | </DL>
|
---|
| 318 | <HR>
|
---|
| 319 |
|
---|
| 320 | <A NAME="property"><!-- --></A><H3>
|
---|
| 321 | property</H3>
|
---|
| 322 | <PRE>
|
---|
| 323 | public java.lang.String <B>property</B></PRE>
|
---|
| 324 | <DL>
|
---|
| 325 | <DD>name of an optional property
|
---|
| 326 | <P>
|
---|
| 327 | <DL>
|
---|
| 328 | </DL>
|
---|
| 329 | </DL>
|
---|
| 330 | <HR>
|
---|
| 331 |
|
---|
| 332 | <A NAME="shouldSetValue"><!-- --></A><H3>
|
---|
| 333 | shouldSetValue</H3>
|
---|
| 334 | <PRE>
|
---|
| 335 | public boolean <B>shouldSetValue</B></PRE>
|
---|
| 336 | <DL>
|
---|
| 337 | <DD>flag telling whether the value of the counter should be set
|
---|
| 338 | <P>
|
---|
| 339 | <DL>
|
---|
| 340 | </DL>
|
---|
| 341 | </DL>
|
---|
| 342 | <HR>
|
---|
| 343 |
|
---|
| 344 | <A NAME="shouldSetProperty"><!-- --></A><H3>
|
---|
| 345 | shouldSetProperty</H3>
|
---|
| 346 | <PRE>
|
---|
| 347 | public boolean <B>shouldSetProperty</B></PRE>
|
---|
| 348 | <DL>
|
---|
| 349 | <DD>flag telling whether a property should be set
|
---|
| 350 | <P>
|
---|
| 351 | <DL>
|
---|
| 352 | </DL>
|
---|
| 353 | </DL>
|
---|
| 354 | <HR>
|
---|
| 355 |
|
---|
| 356 | <A NAME="value"><!-- --></A><H3>
|
---|
| 357 | value</H3>
|
---|
| 358 | <PRE>
|
---|
| 359 | public int <B>value</B></PRE>
|
---|
| 360 | <DL>
|
---|
| 361 | <DD>new value for the counter
|
---|
| 362 | <P>
|
---|
| 363 | <DL>
|
---|
| 364 | </DL>
|
---|
| 365 | </DL>
|
---|
| 366 |
|
---|
| 367 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 368 |
|
---|
| 369 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 370 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 371 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 372 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 373 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 374 | </TR>
|
---|
| 375 | </TABLE>
|
---|
| 376 |
|
---|
| 377 | <A NAME="P4Counter()"><!-- --></A><H3>
|
---|
| 378 | P4Counter</H3>
|
---|
| 379 | <PRE>
|
---|
| 380 | public <B>P4Counter</B>()</PRE>
|
---|
| 381 | <DL>
|
---|
| 382 | </DL>
|
---|
| 383 |
|
---|
| 384 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 385 |
|
---|
| 386 | <A NAME="method_detail"><!-- --></A>
|
---|
| 387 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 388 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 389 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 390 | <B>Method Detail</B></FONT></TD>
|
---|
| 391 | </TR>
|
---|
| 392 | </TABLE>
|
---|
| 393 |
|
---|
| 394 | <A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
---|
| 395 | setName</H3>
|
---|
| 396 | <PRE>
|
---|
| 397 | public void <B>setName</B>(java.lang.String counter)</PRE>
|
---|
| 398 | <DL>
|
---|
| 399 | <DD>The name of the counter; required
|
---|
| 400 | <P>
|
---|
| 401 | <DD><DL>
|
---|
| 402 | <DT><B>Parameters:</B><DD><CODE>counter</CODE> - name of the counter</DL>
|
---|
| 403 | </DD>
|
---|
| 404 | </DL>
|
---|
| 405 | <HR>
|
---|
| 406 |
|
---|
| 407 | <A NAME="setValue(int)"><!-- --></A><H3>
|
---|
| 408 | setValue</H3>
|
---|
| 409 | <PRE>
|
---|
| 410 | public void <B>setValue</B>(int value)</PRE>
|
---|
| 411 | <DL>
|
---|
| 412 | <DD>The new value for the counter; optional.
|
---|
| 413 | <P>
|
---|
| 414 | <DD><DL>
|
---|
| 415 | <DT><B>Parameters:</B><DD><CODE>value</CODE> - new value for the counter</DL>
|
---|
| 416 | </DD>
|
---|
| 417 | </DL>
|
---|
| 418 | <HR>
|
---|
| 419 |
|
---|
| 420 | <A NAME="setProperty(java.lang.String)"><!-- --></A><H3>
|
---|
| 421 | setProperty</H3>
|
---|
| 422 | <PRE>
|
---|
| 423 | public void <B>setProperty</B>(java.lang.String property)</PRE>
|
---|
| 424 | <DL>
|
---|
| 425 | <DD>A property to be set with the value of the counter
|
---|
| 426 | <P>
|
---|
| 427 | <DD><DL>
|
---|
| 428 | <DT><B>Parameters:</B><DD><CODE>property</CODE> - the name of a property to set with the value
|
---|
| 429 | of the counter</DL>
|
---|
| 430 | </DD>
|
---|
| 431 | </DL>
|
---|
| 432 | <HR>
|
---|
| 433 |
|
---|
| 434 | <A NAME="execute()"><!-- --></A><H3>
|
---|
| 435 | execute</H3>
|
---|
| 436 | <PRE>
|
---|
| 437 | public void <B>execute</B>()
|
---|
| 438 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 439 | <DL>
|
---|
| 440 | <DD>again, properties are mutable in this tsk
|
---|
| 441 | <P>
|
---|
| 442 | <DD><DL>
|
---|
| 443 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
| 444 | </DD>
|
---|
| 445 | <DD><DL>
|
---|
| 446 |
|
---|
| 447 | <DT><B>Throws:</B>
|
---|
| 448 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the required parameters are not supplied.</DL>
|
---|
| 449 | </DD>
|
---|
| 450 | </DL>
|
---|
| 451 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 452 | <HR>
|
---|
| 453 |
|
---|
| 454 |
|
---|
| 455 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 456 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 457 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 458 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 459 | <TR>
|
---|
| 460 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 461 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 462 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 463 | <TR ALIGN="center" VALIGN="top">
|
---|
| 464 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 465 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 466 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 467 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 468 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 469 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 470 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 471 | </TR>
|
---|
| 472 | </TABLE>
|
---|
| 473 | </TD>
|
---|
| 474 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 475 | </EM>
|
---|
| 476 | </TD>
|
---|
| 477 | </TR>
|
---|
| 478 |
|
---|
| 479 | <TR>
|
---|
| 480 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 481 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Change.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce"><B>PREV CLASS</B></A>
|
---|
| 482 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Delete.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 483 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 484 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 485 | <A HREF="P4Counter.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 486 | <SCRIPT type="text/javascript">
|
---|
| 487 | <!--
|
---|
| 488 | if(window==top) {
|
---|
| 489 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 490 | }
|
---|
| 491 | //-->
|
---|
| 492 | </SCRIPT>
|
---|
| 493 | <NOSCRIPT>
|
---|
| 494 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 495 | </NOSCRIPT>
|
---|
| 496 |
|
---|
| 497 | </FONT></TD>
|
---|
| 498 | </TR>
|
---|
| 499 | <TR>
|
---|
| 500 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 501 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 502 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 503 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 504 | </TR>
|
---|
| 505 | </TABLE>
|
---|
| 506 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 507 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 508 |
|
---|
| 509 | <HR>
|
---|
| 510 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 511 | </BODY>
|
---|
| 512 | </HTML>
|
---|