|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.viewcomparemerge.MergeAction
An action that may be used to resolve a merge condition.
| Field Summary | |
static MergeAction |
DELETE
Delete the target item. |
static MergeAction |
DELETE_AND_REVERSE_SHARE
Equivalent to a DELETE followed by a REVERSE_SHARE. |
static MergeAction |
FAIL
Fail -- that is, don't allow commit while this action is selected. |
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 |
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 FAIL
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_SHARE| Method Detail |
public static MergeAction[] getAllActions()
public static MergeAction[] getAllPrimitiveActions()
public boolean includes(MergeAction action)
action - The MergeAction to be found.
public java.lang.String getName()
public int getID()
MergeAction.fromID(int)public static MergeAction fromID(int actionID)
actionID - The unique ID of some merge action.
MergeAction.getID()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||