org.apache.tools.ant.taskdefs.optional.perforce
Class P4Resolve
void | execute()- execute the p4 resolve
|
String | getResolvemode()- returns the resolve mode
|
boolean | isForcetextmode()- If set to true, attempts a textual merge, even for binary files
|
boolean | isMarkersforall()- If set to true, puts in markers for all changes, conflicting or not
|
boolean | isRedoall()- allows previously resolved files to be resolved again
|
boolean | isSimulationmode()- read the simulation mode flag
|
void | setForcetextmode(boolean forcetextmode)- If set to true, attempts a textual merge, even for binary files
|
void | setMarkersforall(boolean markersforall)- If set to true, puts in markers for all changes, conflicting or not
|
void | setRedoall(boolean redoall)- set the redoall flag
|
void | setResolvemode(String resolvemode)- values for resolvemode
- automatic -am
- force -af
- safe -as
- theirs -at
- yours -ay
|
void | setSimulationmode(boolean simulationmode)- sets a flag
|
execP4Command, execP4Command, getErrorMessage, getInError, init, setClient, setCmdopts, setErrorMessage, setFailonerror, setGlobalopts, setInError, setPort, setUser, setView |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
execute
public void execute()
throws BuildException execute the p4 resolve
- execute in interface Task
BuildException - if there is a wrong resolve mode specified
or no view specified
getResolvemode
public String getResolvemode()
returns the resolve mode
- returns the resolve mode
isForcetextmode
public boolean isForcetextmode()
If set to true, attempts a textual merge, even for binary files
- flag value
isMarkersforall
public boolean isMarkersforall()
If set to true, puts in markers for all changes, conflicting or not
- flag markersforall value
isRedoall
public boolean isRedoall()
allows previously resolved files to be resolved again
- flag indicating whether one wants to
allow previously resolved files to be resolved again
isSimulationmode
public boolean isSimulationmode()
read the simulation mode flag
- flag indicating whether one wants just to simulate
the p4 resolve operation whithout actually doing it
setForcetextmode
public void setForcetextmode(boolean forcetextmode)
If set to true, attempts a textual merge, even for binary files
forcetextmode - set the flag value
setMarkersforall
public void setMarkersforall(boolean markersforall)
If set to true, puts in markers for all changes, conflicting or not
markersforall - flag true or false
setRedoall
public void setRedoall(boolean redoall)
set the redoall flag
redoall - flag indicating whether one want to
allow previously resolved files to be resolved again
setResolvemode
public void setResolvemode(String resolvemode)
values for resolvemode
- automatic -am
- force -af
- safe -as
- theirs -at
- yours -ay
resolvemode - one of automatic, force, safe, theirs, yours
setSimulationmode
public void setSimulationmode(boolean simulationmode)
sets a flag
simulationmode - set to true, lists the integrations which would be performed,
without actually doing them.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.