Contents

Class     P4Integration < Object

Description

Utility class providing easy access to the details of an integration record.

See Also

P4  P4Exception  P4DepotFile  P4Revision

Class Methods

new
P4Integration.new( how, file, srev, erev ) -> aP4Integration

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.

    integ = P4Integration.new( "copy from", "//depot/main/main.c", 1, 3 )
  

Instance Methods

how
integ.how -> aString

Returns the type of the integration record - how the record was created.

file
integ.file -> aPath

Returns the path to the file being integrated to/from.

srev
integ.srev -> aNumber

Returns the start revision number used for this integration.

erev
integ.erev -> aNumber

Returns the end revision number used for this integration.