- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc on Mon Aug 05 13:17:01 EDT 2002 -->
- <TITLE>
- Perforce API: Class Change
- </TITLE>
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
- </HEAD>
- <BODY BGCOLOR="white">
- <!-- ========== START OF NAVBAR ========== -->
- <A NAME="navbar_top"><!-- --></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Change.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- <a target="_top" href="http://www.perforce.com/"><img alt="Perforce" border="0" height="44" width="151" src="doc-files/perforce_logo.gif"></a></EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../com/perforce/api/Branch.html"><B>PREV CLASS</B></A>
- <A HREF="../../../com/perforce/api/Client.html"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
- <A HREF="Change.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <!-- =========== END OF NAVBAR =========== -->
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- com.perforce.api</FONT>
- <BR>
- Class Change</H2>
- <PRE>
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">java.lang.Object</A>
- |
- +--<A HREF="../../../com/perforce/api/SourceControlObject.html">com.perforce.api.SourceControlObject</A>
- |
- +--<B>com.perforce.api.Change</B>
- </PRE>
- <DL>
- <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/perforce/api/Cacheable.html">Cacheable</A></DD>
- </DL>
- <HR>
- <DL>
- <DT>public final class <B>Change</B><DT>extends <A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></DL>
- <P>
- Representation of a source control change. This class can be used to determine
- information for a particular p4 change. It can be constructed using the
- change number, but will not contain any additional change information
- until the <a href="#sync()">sync()</a> method is called.
- <P>
- <DL>
- <DT><B>Version: </B><DD>$Date: 2002/08/05 $ $Revision: #8 $</DD>
- <DT><B>Author: </B><DD><a href="mailto:david@markley.cc">David Markley</a></DD>
- </DL>
- <HR>
- <P>
- <!-- ======== INNER CLASS SUMMARY ======== -->
- <!-- =========== FIELD SUMMARY =========== -->
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TD COLSPAN=2><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#PENDING">PENDING</A></B></CODE>
- <BR>
- Indicates that the Change is pending submission.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#SUBMITTED">SUBMITTED</A></B></CODE>
- <BR>
- Indicates that the Change has been submitted.</TD>
- </TR>
- </TABLE>
-
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <A NAME="constructor_summary"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TD COLSPAN=2><FONT SIZE="+2">
- <B>Constructor Summary</B></FONT></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#Change()">Change</A></B>()</CODE>
- <BR>
- Default no-argument constructor.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#Change(com.perforce.api.Env)">Change</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> environ)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#Change(int)">Change</A></B>(int number)</CODE>
- <BR>
- Constructor that accepts the change number.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#Change(java.lang.String)">Change</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number)</CODE>
- <BR>
- </TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TD COLSPAN=2><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#addFile(com.perforce.api.FileEntry)">addFile</A></B>(<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> fent)</CODE>
- <BR>
- Adds the given <code>FileEntry</code> to the changelist.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#commit()">commit</A></B>()</CODE>
- <BR>
- Stores this object back into Perforce, creating it if it
- didn't already exist.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#delete()">delete</A></B>()</CODE>
- <BR>
- Delete the pending changelist.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../com/perforce/api/HashDecay.html">HashDecay</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getCache()">getCache</A></B>()</CODE>
- <BR>
- Returns the HashDecay instance for this class</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChange(com.perforce.api.Env, int, boolean)">getChange</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- int number,
- boolean force)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChange(com.perforce.api.Env, java.lang.String, boolean)">getChange</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number,
- boolean force)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChange(int)">getChange</A></B>(int number)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChange(int, boolean)">getChange</A></B>(int number,
- boolean force)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChange(java.lang.String)">getChange</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChange(java.lang.String, boolean)">getChange</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number,
- boolean force)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A>[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChanges(com.perforce.api.Env, java.lang.String)">getChanges</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> path)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A>[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChanges(com.perforce.api.Env, java.lang.String, int, java.lang.String, java.lang.String, boolean, java.lang.String)">getChanges</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> path,
- int max,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> start,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> end,
- boolean use_integs,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> ufilter)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../com/perforce/api/Change.html">Change</A>[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getChanges(java.lang.String)">getChanges</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> path)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getClientName()">getClientName</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getDescription()">getDescription</A></B>()</CODE>
- <BR>
- Returns the description for the Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getFileEntries()">getFileEntries</A></B>()</CODE>
- <BR>
- Returns a Vector filled with the files (including revision numbers) that
- were affected by this change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getFiles()">getFiles</A></B>()</CODE>
- <BR>
- Returns a Vector filled with the files (including revision numbers) that
- were affected by this change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getModtimeString()">getModtimeString</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getNumber()">getNumber</A></B>()</CODE>
- <BR>
- Returns the number of this Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getShortDescription()">getShortDescription</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getShortDescription(boolean)">getShortDescription</A></B>(boolean blurb)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getStatus()">getStatus</A></B>()</CODE>
- <BR>
- Returns the status for the Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../com/perforce/api/User.html">User</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#getUser()">getUser</A></B>()</CODE>
- <BR>
- Returns the User that owns this Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#resolve(boolean)">resolve</A></B>(boolean force)</CODE>
- <BR>
- Resolves this file.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#revert()">revert</A></B>()</CODE>
- <BR>
- Reverts all the files associated with a pending changelist.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../com/perforce/api/User.html">User</A>[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#reviews()">reviews</A></B>()</CODE>
- <BR>
- Determine the users that review this changelist.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#setClientName(java.lang.String)">setClientName</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> name)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#setDescription(java.lang.String)">setDescription</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> description)</CODE>
- <BR>
- Sets the description for the change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#setModtimeString(java.lang.String)">setModtimeString</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> modtime)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#setNumber(int)">setNumber</A></B>(int number)</CODE>
- <BR>
- Sets the change number for the Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#setStatus(int)">setStatus</A></B>(int status)</CODE>
- <BR>
- Sets status for the Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#setUser(com.perforce.api.User)">setUser</A></B>(<A HREF="../../../com/perforce/api/User.html">User</A> user)</CODE>
- <BR>
- Sets the User that owns this Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#submit()">submit</A></B>()</CODE>
- <BR>
- Submits the change, if it is pending.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#sync()">sync</A></B>()</CODE>
- <BR>
- Synchronizes the Change with the correct information from P4, using
- whatever change number has already been set in the Change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#sync(int)">sync</A></B>(int number)</CODE>
- <BR>
- Sycnhronizes the Change with the correct information from P4.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#toString()">toString</A></B>()</CODE>
- <BR>
- Overrides the default toString() method.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/perforce/api/Change.html#toXML()">toXML</A></B>()</CODE>
- <BR>
- Returns a string containing the object in XML form.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_com.perforce.api.SourceControlObject"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TD><B>Methods inherited from class com.perforce.api.<A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></B></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#clearCache()">clearCache</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#getEnv()">getEnv</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#getSyncTime()">getSyncTime</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#getUpdateTime()">getUpdateTime</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#inSync()">inSync</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#invalidate()">invalidate</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#outOfSync(long)">outOfSync</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#refreshUpdateTime()">refreshUpdateTime</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#setEnv(com.perforce.api.Env)">setEnv</A></CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
- </TR>
- </TABLE>
-
- <P>
- <!-- ============ FIELD DETAIL =========== -->
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TD COLSPAN=1><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="PENDING"><!-- --></A><H3>
- PENDING</H3>
- <PRE>
- public static final int <B>PENDING</B></PRE>
- <DL>
- <DD>Indicates that the Change is pending submission.</DL>
- <HR>
- <A NAME="SUBMITTED"><!-- --></A><H3>
- SUBMITTED</H3>
- <PRE>
- public static final int <B>SUBMITTED</B></PRE>
- <DL>
- <DD>Indicates that the Change has been submitted.</DL>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <A NAME="constructor_detail"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TD COLSPAN=1><FONT SIZE="+2">
- <B>Constructor Detail</B></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="Change()"><!-- --></A><H3>
- Change</H3>
- <PRE>
- public <B>Change</B>()</PRE>
- <DL>
- <DD>Default no-argument constructor.</DL>
- <HR>
- <A NAME="Change(com.perforce.api.Env)"><!-- --></A><H3>
- Change</H3>
- <PRE>
- public <B>Change</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> environ)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="Change(int)"><!-- --></A><H3>
- Change</H3>
- <PRE>
- public <B>Change</B>(int number)</PRE>
- <DL>
- <DD>Constructor that accepts the change number. This change is not populated
- with the correct information until the sync() method is called on it.<DD><DL>
- <DT><B>Parameters:</B><DD><CODE>number</CODE> - Change number</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="Change(java.lang.String)"><!-- --></A><H3>
- Change</H3>
- <PRE>
- public <B>Change</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number)</PRE>
- <DL>
- </DL>
- <!-- ============ METHOD DETAIL ========== -->
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TD COLSPAN=1><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="addFile(com.perforce.api.FileEntry)"><!-- --></A><H3>
- addFile</H3>
- <PRE>
- public void <B>addFile</B>(<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> fent)
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- <DD>Adds the given <code>FileEntry</code> to the changelist. If the
- changelist has not been committed to the server, that is done first.<DD><DL>
- <DT><B>Parameters:</B><DD><CODE>fent</CODE> - file entry to be added.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="commit()"><!-- --></A><H3>
- commit</H3>
- <PRE>
- public void <B>commit</B>()
- throws <A HREF="../../../com/perforce/api/CommitException.html">CommitException</A></PRE>
- <DL>
- <DD><B>Description copied from class: <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></B></DD>
- <DD>Stores this object back into Perforce, creating it if it
- didn't already exist.<DD><DL>
- <DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#commit()">commit</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="delete()"><!-- --></A><H3>
- delete</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>delete</B>()
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- <DD>Delete the pending changelist. This method will revert any open files
- associated with the changelist and then delete it.<DD><DL>
- <DT><B>Returns:</B><DD>log of delete command.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getCache()"><!-- --></A><H3>
- getCache</H3>
- <PRE>
- public <A HREF="../../../com/perforce/api/HashDecay.html">HashDecay</A> <B>getCache</B>()</PRE>
- <DL>
- <DD><B>Description copied from class: <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></B></DD>
- <DD>Returns the HashDecay instance for this class<DD><DL>
- <DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#getCache()">getCache</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getChange(com.perforce.api.Env, int, boolean)"><!-- --></A><H3>
- getChange</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A> <B>getChange</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- int number,
- boolean force)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChange(com.perforce.api.Env, java.lang.String, boolean)"><!-- --></A><H3>
- getChange</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A> <B>getChange</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number,
- boolean force)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChange(int)"><!-- --></A><H3>
- getChange</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A> <B>getChange</B>(int number)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChange(int, boolean)"><!-- --></A><H3>
- getChange</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A> <B>getChange</B>(int number,
- boolean force)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChange(java.lang.String)"><!-- --></A><H3>
- getChange</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A> <B>getChange</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChange(java.lang.String, boolean)"><!-- --></A><H3>
- getChange</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A> <B>getChange</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> number,
- boolean force)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChanges(com.perforce.api.Env, java.lang.String)"><!-- --></A><H3>
- getChanges</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A>[] <B>getChanges</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> path)
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChanges(com.perforce.api.Env, java.lang.String, int, java.lang.String, java.lang.String, boolean, java.lang.String)"><!-- --></A><H3>
- getChanges</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A>[] <B>getChanges</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A> env,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> path,
- int max,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> start,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> end,
- boolean use_integs,
- <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> ufilter)
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getChanges(java.lang.String)"><!-- --></A><H3>
- getChanges</H3>
- <PRE>
- public static <A HREF="../../../com/perforce/api/Change.html">Change</A>[] <B>getChanges</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> path)
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getClientName()"><!-- --></A><H3>
- getClientName</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getClientName</B>()</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getDescription()"><!-- --></A><H3>
- getDescription</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getDescription</B>()</PRE>
- <DL>
- <DD>Returns the description for the Change. This description includes not
- only the textual description provided by the user, but also the list
- of affected files and how they were affected.
- The String returned includes newline characters.</DL>
- <HR>
- <A NAME="getFileEntries()"><!-- --></A><H3>
- getFileEntries</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getFileEntries</B>()</PRE>
- <DL>
- <DD>Returns a Vector filled with the files (including revision numbers) that
- were affected by this change. What was done to each file as a result of
- this Change is stripped off.
- This method uses the value of the Change's description to determine the
- files that are affected.<DD><DL>
- <DT><B>Returns:</B><DD><code>Vector</code> of <code>FileEntry</code> objects of files affected.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getFiles()"><!-- --></A><H3>
- getFiles</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getFiles</B>()</PRE>
- <DL>
- <DD>Returns a Vector filled with the files (including revision numbers) that
- were affected by this change. What was done to each file as a result of
- this Change is stripped off.
- This method uses the value of the Change's description to determine the
- files that are affected.<DD><DL>
- <DT><B>Returns:</B><DD><code>Vector</code> of <code>String</code>s of files affected.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getModtimeString()"><!-- --></A><H3>
- getModtimeString</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getModtimeString</B>()</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getNumber()"><!-- --></A><H3>
- getNumber</H3>
- <PRE>
- public int <B>getNumber</B>()</PRE>
- <DL>
- <DD>Returns the number of this Change.</DL>
- <HR>
- <A NAME="getShortDescription()"><!-- --></A><H3>
- getShortDescription</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getShortDescription</B>()</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getShortDescription(boolean)"><!-- --></A><H3>
- getShortDescription</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getShortDescription</B>(boolean blurb)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="getStatus()"><!-- --></A><H3>
- getStatus</H3>
- <PRE>
- public int <B>getStatus</B>()</PRE>
- <DL>
- <DD>Returns the status for the Change. This can be either PENDING or
- SUBMITTED.</DL>
- <HR>
- <A NAME="getUser()"><!-- --></A><H3>
- getUser</H3>
- <PRE>
- public <A HREF="../../../com/perforce/api/User.html">User</A> <B>getUser</B>()</PRE>
- <DL>
- <DD>Returns the User that owns this Change.</DL>
- <HR>
- <A NAME="resolve(boolean)"><!-- --></A><H3>
- resolve</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>resolve</B>(boolean force)
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- <DD>Resolves this file. If the force flag is false, and auto-resolve is
- attempted (p4 resolve -am). If the force flag is true, an "accept theirs"
- resolve is completed (p4 resolve -at).<DD><DL>
- <DT><B>Parameters:</B><DD><CODE>force</CODE> - Indicates whether the resolve should be forced.<DT><B>See Also: </B><DD><A HREF="../../../com/perforce/api/FileEntry.html#resolve(boolean)"><CODE>FileEntry.resolve(boolean)</CODE></A></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="revert()"><!-- --></A><H3>
- revert</H3>
- <PRE>
- public void <B>revert</B>()
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- <DD>Reverts all the files associated with a pending changelist.</DL>
- <HR>
- <A NAME="reviews()"><!-- --></A><H3>
- reviews</H3>
- <PRE>
- public <A HREF="../../../com/perforce/api/User.html">User</A>[] <B>reviews</B>()
- throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
- <DL>
- <DD>Determine the users that review this changelist. This method
- returns an array of Users that need to be informed.</DL>
- <HR>
- <A NAME="setClientName(java.lang.String)"><!-- --></A><H3>
- setClientName</H3>
- <PRE>
- public void <B>setClientName</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> name)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
- setDescription</H3>
- <PRE>
- public void <B>setDescription</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> description)</PRE>
- <DL>
- <DD>Sets the description for the change.</DL>
- <HR>
- <A NAME="setModtimeString(java.lang.String)"><!-- --></A><H3>
- setModtimeString</H3>
- <PRE>
- public void <B>setModtimeString</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> modtime)</PRE>
- <DL>
- </DL>
- <HR>
- <A NAME="setNumber(int)"><!-- --></A><H3>
- setNumber</H3>
- <PRE>
- public void <B>setNumber</B>(int number)</PRE>
- <DL>
- <DD>Sets the change number for the Change. This invalidates all the other
- data for the Change.<DD><DL>
- <DT><B>Parameters:</B><DD><CODE>number</CODE> - Change number</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setStatus(int)"><!-- --></A><H3>
- setStatus</H3>
- <PRE>
- public void <B>setStatus</B>(int status)</PRE>
- <DL>
- <DD>Sets status for the Change. This can be either PENDING or SUBMITTED.</DL>
- <HR>
- <A NAME="setUser(com.perforce.api.User)"><!-- --></A><H3>
- setUser</H3>
- <PRE>
- public void <B>setUser</B>(<A HREF="../../../com/perforce/api/User.html">User</A> user)</PRE>
- <DL>
- <DD>Sets the User that owns this Change.<DD><DL>
- <DT><B>Parameters:</B><DD><CODE>user</CODE> - Owning user.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="submit()"><!-- --></A><H3>
- submit</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>submit</B>()
- throws <A HREF="../../../com/perforce/api/SubmitException.html">SubmitException</A></PRE>
- <DL>
- <DD>Submits the change, if it is pending.<DD><DL>
- <DT><B>Throws:</B><DD><CODE><A HREF="../../../com/perforce/api/SubmitException.html">SubmitException</A></CODE> - If the submit fails.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="sync()"><!-- --></A><H3>
- sync</H3>
- <PRE>
- public void <B>sync</B>()</PRE>
- <DL>
- <DD>Synchronizes the Change with the correct information from P4, using
- whatever change number has already been set in the Change. After this
- method is called, all the information in the Change is valid.<DD><DL>
- <DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#sync()">sync</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="sync(int)"><!-- --></A><H3>
- sync</H3>
- <PRE>
- public void <B>sync</B>(int number)</PRE>
- <DL>
- <DD>Sycnhronizes the Change with the correct information from P4. After this
- method is called, all the information in the Change is valid.<DD><DL>
- <DT><B>Parameters:</B><DD><CODE>number</CODE> - Change number</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="toString()"><!-- --></A><H3>
- toString</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
- <DL>
- <DD>Overrides the default toString() method.<DD><DL>
- <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="toXML()"><!-- --></A><H3>
- toXML</H3>
- <PRE>
- public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>toXML</B>()</PRE>
- <DL>
- <DD><B>Description copied from class: <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></B></DD>
- <DD>Returns a string containing the object in XML form.<DD><DL>
- <DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#toXML()">toXML</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
- </DD>
- </DL>
- <!-- ========= END OF CLASS DATA ========= -->
- <HR>
- <!-- ========== START OF NAVBAR ========== -->
- <A NAME="navbar_bottom"><!-- --></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_bottom_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Change.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- <a target="_top" href="http://www.perforce.com/"><img alt="Perforce" border="0" height="44" width="151" src="doc-files/perforce_logo.gif"></a></EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../com/perforce/api/Branch.html"><B>PREV CLASS</B></A>
- <A HREF="../../../com/perforce/api/Client.html"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
- <A HREF="Change.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <!-- =========== END OF NAVBAR =========== -->
- <HR>
- <i><a href="doc-files/LICENSE.TXT">Copyright</a> © 2001, Perforce Software, All rights reserved.</i>
- </BODY>
- </HTML>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#8 | 2001 | David Markley | Updated package documentation. | 23 years ago | |
#7 | 1887 | David Markley | Updated the class docs. | 23 years ago | |
#6 | 1386 | David Markley | Updated the documentation. | 23 years ago | |
#5 | 1360 | David Markley | Updated Env class. | 23 years ago | |
#4 | 1332 | David Markley | Added more example code. Added the Counter class. Corrected the filelog methods for the... FileEntry class. « |
23 years ago | |
#3 | 1037 | David Markley | Updated the documentation. | 23 years ago | |
#2 | 1021 | David Markley | Corrected spelling of deprecated in the source. Added <pre> tag around license info...rmation. « |
23 years ago | |
#1 | 1020 | David Markley |
Added Perforce Java API documentation. This is generated using JavaDoc. |
23 years ago |