public class P4Integrate extends P4Base
failOnError, P4Client, P4CmdOpts, P4Opts, P4Port, P4User, P4View, shell, utildescription, location, project| Constructor and Description |
|---|
P4Integrate() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
execute the p4 integrate
|
java.lang.String |
getBranch()
get the branch
|
java.lang.String |
getChange()
get the changelist number
|
java.lang.String |
getFromfile()
get the from file specification
|
java.lang.String |
getTofile()
get the to file specification
|
boolean |
isEnableBaselessMerges()
gets the enablebaselessmerges flag
|
boolean |
isForceIntegrate()
gets the forceintegrate flag
|
boolean |
isLeaveTargetRevision()
gets the leavetargetrevision flag
|
boolean |
isNocopynewtargetfiles()
indicates intention to suppress the copying on the local hard disk of new target files.
|
boolean |
isPropagatesourcefiletype()
returns flag indicating if propagation of source file type is sought
|
boolean |
isRestoreDeletedRevisions()
gets the restoredeletedrevisions flag
|
boolean |
isReversebranchmappings()
returns the flag indicating if reverse branch mappings are sought
|
boolean |
isSimulationMode()
gets the simulationmode flag
|
void |
setBranch(java.lang.String br)
sets the branch
|
void |
setChange(java.lang.String change)
set the changelist number for the operation
|
void |
setEnableBaselessMerges(boolean setrest)
sets the enablebaselessmerges flag
|
void |
setForceIntegrate(boolean setrest)
sets the forceintegrate flag
|
void |
setFromfile(java.lang.String fromf)
sets the from file specification
|
void |
setLeaveTargetRevision(boolean setrest)
sets the leavetargetrevision flag
|
void |
setNocopynewtargetfiles(boolean nocopynewtargetfiles)
sets nocopynewtargetfiles flag
|
void |
setPropagatesourcefiletype(boolean propagatesourcefiletype)
sets flag indicating if one wants to propagate the source file type
|
void |
setRestoreDeletedRevisions(boolean setrest)
sets the restoredeletedrevisions flag
|
void |
setReversebranchmappings(boolean reversebranchmappings)
sets the reversebranchmappings flag
|
void |
setSimulationMode(boolean setrest)
sets the simulationmode flag
|
void |
setTofile(java.lang.String tof)
sets the to file specification
|
execP4Command, execP4Command, getErrorMessage, getInError, init, setClient, setCmdopts, setErrorMessage, setFailonerror, setGlobalopts, setInError, setPort, setUser, setViewbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic java.lang.String getChange()
public void setChange(java.lang.String change)
change - An existing changelist number to assign files to; optional
but strongly recommended.public java.lang.String getFromfile()
public void setFromfile(java.lang.String fromf)
fromf - the from file specificationpublic java.lang.String getTofile()
public void setTofile(java.lang.String tof)
tof - the to file specificationpublic java.lang.String getBranch()
public void setBranch(java.lang.String br)
br - the name of the branch to usepublic boolean isRestoreDeletedRevisions()
public void setRestoreDeletedRevisions(boolean setrest)
setrest - value chosen for restoredeletedrevisionspublic boolean isForceIntegrate()
public void setForceIntegrate(boolean setrest)
setrest - value chosen for forceintegratepublic boolean isLeaveTargetRevision()
public void setLeaveTargetRevision(boolean setrest)
setrest - value chosen for leavetargetrevisionpublic boolean isEnableBaselessMerges()
public void setEnableBaselessMerges(boolean setrest)
setrest - value chosen for enablebaselessmergespublic boolean isSimulationMode()
public void setSimulationMode(boolean setrest)
setrest - value chosen for simulationmodepublic boolean isReversebranchmappings()
public void setReversebranchmappings(boolean reversebranchmappings)
reversebranchmappings - flag indicating if reverse branch mappings are soughtpublic boolean isPropagatesourcefiletype()
public void setPropagatesourcefiletype(boolean propagatesourcefiletype)
propagatesourcefiletype - set it to true if you want to change the type of existing target files
according to type of source file.public boolean isNocopynewtargetfiles()
public void setNocopynewtargetfiles(boolean nocopynewtargetfiles)
nocopynewtargetfiles - set it to true to gain speed in integration by not copying on
the local Perforce client new target filespublic void execute()
throws BuildException
execute in class TaskBuildException - if there are missing parameters