Integrate file(s).
P4Change should be used to obtain a new changelist for P4Integrate,
although P4Integrate can open files to the default change,
P4Submit cannot yet submit to it.
Example Usage:
<p4integrate change="${p4.change}"
fromfile="//depot/project/dev/foo.txt" tofile="//depot/project/main/foo.txt" />
getBranch
public String getBranch()
get the branch
- the name of the branch
getChange
public String getChange()
get the changelist number
- the changelist number set for this task
getFromfile
public String getFromfile()
get the from file specification
- the from file specification
getTofile
public String getTofile()
get the to file specification
- the to file specification
isEnableBaselessMerges
public boolean isEnableBaselessMerges()
gets the enablebaselessmerges flag
- boolean indicating if baseless merges are desired
isForceIntegrate
public boolean isForceIntegrate()
gets the forceintegrate flag
- restore deleted revisions
isLeaveTargetRevision
public boolean isLeaveTargetRevision()
gets the leavetargetrevision flag
- flag indicating if the target revision should be preserved
isNocopynewtargetfiles
public boolean isNocopynewtargetfiles()
indicates intention to suppress the copying on the local hard disk of new target files.
- indicates intention to suppress the copying
on the local hard disk of new target files.
isPropagatesourcefiletype
public boolean isPropagatesourcefiletype()
returns flag indicating if propagation of source file type is sought
- flag set to true if you want to propagate source file type for existing target files
isRestoreDeletedRevisions
public boolean isRestoreDeletedRevisions()
gets the restoredeletedrevisions flag
- restore deleted revisions
isReversebranchmappings
public boolean isReversebranchmappings()
returns the flag indicating if reverse branch mappings are sought
- reversebranchmappings flag
isSimulationMode
public boolean isSimulationMode()
gets the simulationmode flag
- simulation mode flag
setBranch
public void setBranch(String br)
sets the branch
br
- the name of the branch to use
setChange
public void setChange(String change)
set the changelist number for the operation
change
- An existing changelist number to assign files to; optional
but strongly recommended.
setEnableBaselessMerges
public void setEnableBaselessMerges(boolean setrest)
sets the enablebaselessmerges flag
setrest
- value chosen for enablebaselessmerges
setForceIntegrate
public void setForceIntegrate(boolean setrest)
sets the forceintegrate flag
setrest
- value chosen for forceintegrate
setFromfile
public void setFromfile(String fromf)
sets the from file specification
fromf
- the from file specification
setLeaveTargetRevision
public void setLeaveTargetRevision(boolean setrest)
sets the leavetargetrevision flag
setrest
- value chosen for leavetargetrevision
setNocopynewtargetfiles
public void setNocopynewtargetfiles(boolean nocopynewtargetfiles)
sets nocopynewtargetfiles flag
nocopynewtargetfiles
- set it to true to gain speed in integration by not copying on
the local Perforce client new target files
setPropagatesourcefiletype
public void setPropagatesourcefiletype(boolean propagatesourcefiletype)
sets flag indicating if one wants to propagate the source file type
propagatesourcefiletype
- set it to true if you want to change the type of existing target files
according to type of source file.
setRestoreDeletedRevisions
public void setRestoreDeletedRevisions(boolean setrest)
sets the restoredeletedrevisions flag
setrest
- value chosen for restoredeletedrevisions
setReversebranchmappings
public void setReversebranchmappings(boolean reversebranchmappings)
sets the reversebranchmappings flag
reversebranchmappings
- flag indicating if reverse branch mappings are sought
setSimulationMode
public void setSimulationMode(boolean setrest)
sets the simulationmode flag
setrest
- value chosen for simulationmode
setTofile
public void setTofile(String tof)
sets the to file specification
tof
- the to file specification