|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.MergePoint
This class provides information about how two item revisions are related with respect to merging. Suppose the file "foo.txt" branches at revision 1.3 to create a new revision 1.3.1.0. A checkin on the main branch will create revision 1.4 and a subsequent checkin on the alternate branch will create revision 1.3.1.1. If the user then merges the changes between 1.3 to 1.4 in to a new branch revision 1.3.1.2 a MergePoint can be used to record the sources used to create this new revision. In this case the MergePoint would have a source RevisionID corresponding to the 1.4 revision of "foo.txt" and a target RevisionID corresponding to the 1.3.1.2 revision of "foo.txt".
Item.resolveMergePoint(com.starbase.starteam.Item),
Item.recordMergePoint(com.starbase.starteam.Item)| Constructor Summary | |
MergePoint(RevisionID source,
RevisionID target)
Creates a new MergePoint for the specified source and target RevisionIDs. |
|
| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
RevisionID |
getSource()
Returns the RevisionID of the merge source. |
RevisionID |
getTarget()
Returns the RevisionID of the merge target. |
int |
hashCode()
returns a unique hash for all instances of this type |
void |
setSource(RevisionID source)
Sets the RevisionID of the source. |
void |
setTarget(RevisionID target)
Sets the RevisionID of the target. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MergePoint(RevisionID source,
RevisionID target)
source - the source RevisionIDtarget - the target RevisionID| Method Detail |
public RevisionID getSource()
public void setSource(RevisionID source)
source - the RevisionID of the source. Cannot be null.public RevisionID getTarget()
public void setTarget(RevisionID target)
public boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||