|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.viewcomparemerge.FileMergeAdapter
|
+--com.starbase.starteam.viewcomparemerge.VisMergeAdapter
Facilitates the use of the StarTeam VisMerge tool to resolve a file merge condition. Used as follows:
VisMergeAdapter tool = new VisMergeAdapter(diff);
tool.setIgnoreWhiteSpace(true);
int exitCode = tool.merge();
if (exitCode == 0) {
System.out.println("The merge was successful!");
} else {
System.out.println("VisMerge failed with exit code: " + exitCode);
}
Note that VisMerge was the default file merge tool in StarTeam 8.0 and earlier.
WorkstationDefaultMergeAdapter,
StarTeamFileMergeAdapter,
Custom3WayMergeAdapter,
FileMergeAdapter| Field Summary |
| Fields inherited from class com.starbase.starteam.viewcomparemerge.FileMergeAdapter |
PARAM_COMMON_ANCESTOR, PARAM_OUTPUT_FILE, PARAM_SOURCE_ANCESTOR, PARAM_SOURCE_FILE, PARAM_TARGET_ANCESTOR, PARAM_TARGET_FILE |
| Constructor Summary | |
VisMergeAdapter(ItemDifference diff)
Constructs a VisMerge adapter for resolving a given file merge condition. |
|
| Method Summary | |
boolean |
getAutoMergeLinesWithNoConflicts()
Determines whether or not changed lines with no conflicts will be merged automatically. |
boolean |
getIgnoreWhiteSpace()
Determines whether or not changed lines with no conflicts will be merged automatically. |
void |
setAutoMergeLinesWithNoConflicts(boolean bAutoMerge)
Determines whether or not changed lines with no conflicts will be merged automatically. |
void |
setIgnoreWhiteSpace(boolean bIgnore)
Determines whether or not changed lines with no conflicts will be merged automatically. |
| Methods inherited from class com.starbase.starteam.viewcomparemerge.FileMergeAdapter |
merge |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VisMergeAdapter(ItemDifference diff)
diff - The ItemDifference whose file merge condition is to be resolved.| Method Detail |
public boolean getAutoMergeLinesWithNoConflicts()
public void setAutoMergeLinesWithNoConflicts(boolean bAutoMerge)
bAutoMerge - true to automatically merge lines with no conflicts; false if all changes must be merged manually.
Automatic merging is enabled by default.public boolean getIgnoreWhiteSpace()
public void setIgnoreWhiteSpace(boolean bIgnore)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||