<html> <head> <title>P4/Ruby - P4Integration</title> <link rel="stylesheet" type="text/css" href="docstyle.css"> </head> <body> <p align="right"> <a href="index.html">Contents</a> </p> <div class="classhdr"> <table border=0> <tr> <td> <span class="classtag">Class</span> <span class="classname">P4Integration</span> <span class="classparent">< Object</span> </td> <td id="righttext"> <span class="requiretag">require</span> <span class="modulename">"P4"</span> </td> </tr> </table> </div> <h3>Description</h3> Utility class providing easy access to the details of an integration record. <div class="classmethods"> <h3>Class Methods</h3> <div class="index"> <table border="0"> <tr> <td> <a href="#new">new</a> </td> </tr> </table> </div> <a name="new"></a> <div class="method"> <div class="methodheader"> <table width="100%"> <tr> <td class="meth_name">new</td> <td> </td> <td class="proto"> P4Integration.new( <i>how, file, srev, erev</i> ) -> <i>aP4Integration</i> </td> </tr> </table> </div> Constructs a new P4Integration object. "how" represents the type of operation e.g. "copy from", "merge into" etc. whilst, "file" is the name of the integrated file and "srev" and "erev" the start and end revision numbers for this integration. <pre> integ = P4Integration.new( "copy from", "//depot/main/main.c", 1, 3 ) </pre> </div> </div> <div class="instancemethods"> <h3>Instance Methods</h3> <div class="index"> <table border="0"> <tr> <td> <a href="#how">how</a> <a href="#erev">erev</a> </td> <td> <a href="#file">file</a> </td> <td> <a href="#srev">srev</a> </td> </tr> </table> </div> <a name="how"></a> <div class="method"> <div class="methodheader"> <table width="100%"> <tr> <td class="meth_name">how</td> <td> </td> <td class="proto"> </td> </tr> </table> </div> Returns the type of the integration record - how the record was created. </div> <a name="file"></a> <div class="method"> <div class="methodheader"> <table width="100%"> <tr> <td class="meth_name">file</td> <td> </td> <td class="proto"> <i>integ</i>.file -> <i>aPath</i> </td> </tr> </table> </div> Returns the path to the file being integrated to/from. </div> <a name="srev"></a> <div class="method"> <div class="methodheader"> <table width="100%"> <tr> <td class="meth_name">srev</td> <td> </td> <td class="proto"> <i>integ</i>.srev -> <i>aNumber</i> </td> </tr> </table> </div> Returns the start revision number used for this integration. </div> <a name="erev"></a> <div class="method"> <div class="methodheader"> <table width="100%"> <tr> <td class="meth_name">erev</td> <td> </td> <td class="proto"> <i>integ</i>.erev -> <i>aNumber</i> </td> </tr> </table> </div> Returns the end revision number used for this integration. </div> </div> <div class="seealso"> <h3>See Also</h3> <a href="P4.html">P4</a> <a href="P4Exception.html">P4Exception</a> <a href="P4DepotFile.html">P4DepotFile</a> <a href="P4Revision.html">P4Revision</a> <a href="P4Spec.html">P4::Spec</a> </div> </body> </html>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 14520 | tony |
Replace old P4Ruby documentation with a RELNOTES file, (and ultimately, Doug's new manual), and update the MANIFEST to match (and include the new tests) I've also removed the old installer files as our new installer won't use them. |
||
#1 | 14480 | tony |
Add P4Ruby 1.5944 to main as start-point for the first productized release of P4Ruby |