|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.viewcomparemerge.MergeAction
public abstract class MergeAction
An action that may be used to resolve a merge condition.
| Field Summary | |
|---|---|
static MergeAction |
ADD
Add. |
static MergeAction |
CHECKIN
Checkin. |
static MergeAction |
CHECKIN_AND_OVERWRITE
Equivalent to a Force CHECKIN. |
static MergeAction |
CHECKOUT
Checkout. |
static MergeAction |
CHECKOUT_AND_OVERWRITE
Equivalent to a Force CHECKOUT. |
static MergeAction |
DELETE
Delete the target item. |
static MergeAction |
DELETE_AND_REVERSE_SHARE
Equivalent to a DELETE followed by a REVERSE_SHARE. |
static MergeAction |
DELETE_AND_SHARE
Equivalent to a DELETE followed by a SHARE. |
static MergeAction |
IGNORE
No action. |
static MergeAction |
MARK_RESOLVED
Just mark the difference as resolved by creating a merge point. |
static MergeAction |
MERGE
Merge the source and target items. |
static MergeAction |
MOVE
Move the target item to another folder. |
static MergeAction |
MOVE_AND_MERGE
Equivalent to a MOVE followed by a MERGE. |
static MergeAction |
MOVE_AND_OVERWRITE
Equivalent to a MOVE followed by an OVERWRITE. |
static MergeAction |
MOVE_AND_RE_PIN
Equivalent to a MOVE followed by a RE_PIN. |
static MergeAction |
MOVE_BACK
Move Back. |
static MergeAction |
NEEDS_REVIEW
Needs review -- don't allow commit while this action is selected. |
static MergeAction |
OVERWRITE
Overwrite the target with the content of the source. |
static MergeAction |
RE_PIN
Change the revision to which the target item is pinned to match the source item. |
static MergeAction |
REVERSE_SHARE
Move the source item to the target and share it back to the source. |
static MergeAction |
SHARE
Share the source item to the target. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
static MergeAction |
fromID(int actionID)
Gets the MergeAction that corresponds to the given action ID. |
static MergeAction[] |
getAllActions()
Returns an array of all MergeAction instances |
static MergeAction[] |
getAllPrimitiveActions()
Returns an array of all primitive MergeAction instances |
int |
getID()
Gets the unique ID associated with this action. |
java.lang.String |
getName()
Returns a String representation of this merge action |
int |
hashCode()
|
boolean |
includes(MergeAction action)
Determines whether or not this action includes the primitives specified in the given action, in any order. |
java.lang.String |
toString()
Returns a String representation of this merge action |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final MergeAction IGNORE
public static final MergeAction RE_PIN
public static final MergeAction MOVE
public static final MergeAction MERGE
public static final MergeAction DELETE
public static final MergeAction SHARE
public static final MergeAction REVERSE_SHARE
public static final MergeAction OVERWRITE
public static final MergeAction NEEDS_REVIEW
public static final MergeAction MARK_RESOLVED
public static final MergeAction MOVE_AND_MERGE
MergeAction.MERGE,
MergeAction.MOVEpublic static final MergeAction MOVE_AND_OVERWRITE
MergeAction.OVERWRITE,
MergeAction.MOVEpublic static final MergeAction MOVE_AND_RE_PIN
MergeAction.RE_PIN,
MergeAction.MOVEpublic static final MergeAction DELETE_AND_REVERSE_SHARE
MergeAction.DELETE,
MergeAction.REVERSE_SHAREpublic static final MergeAction ADD
public static final MergeAction CHECKIN
public static final MergeAction MOVE_BACK
public static final MergeAction CHECKOUT
public static final MergeAction CHECKOUT_AND_OVERWRITE
MergeAction.OVERWRITE,
MergeAction.CHECKOUTpublic static final MergeAction CHECKIN_AND_OVERWRITE
MergeAction.OVERWRITE,
MergeAction.CHECKINpublic static final MergeAction DELETE_AND_SHARE
MergeAction.DELETE,
MergeAction.SHARE| Method Detail |
|---|
public static MergeAction[] getAllActions()
public static MergeAction[] getAllPrimitiveActions()
public boolean includes(MergeAction action)
action - The MergeAction to be found.
public int getID()
MergeAction.fromID(int)public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the other merge action to compare
public int hashCode()
hashCode in class java.lang.Objectpublic static MergeAction fromID(int actionID)
actionID - The unique ID of some merge action.
MergeAction.getID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||