public abstract class MergeOperation
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MergeOperation.Action
List of actions that can be applied to the MergeOperation elements.
|
| Constructor and Description |
|---|
MergeOperation() |
| Modifier and Type | Method and Description |
|---|---|
abstract MergeOperation.Action |
getAction()
Returns the action that will be applied for this change.
|
abstract MergeOperation.Action |
getDefaultAction()
Returns the default action for this operation.
|
abstract Change |
getLeftChange() |
abstract IlrBaseline |
getLhsBranch()
Returns the branch on the left hand side of the comparison.
|
abstract IlrCommitableObject |
getMergedObject()
Return the IlrCommitableObject set by a previous call to the publish() method.
|
abstract IlrBaseline |
getRhsBranch()
Returns the branch on the right hand side of the comparison.
|
abstract Change |
getRightChange() |
abstract void |
ignore()
Mark this operation as "ignored".
|
abstract boolean |
isConflict() |
abstract boolean |
isLeftChange() |
abstract boolean |
isRightChange() |
abstract boolean |
publish(MergeOperation.Action action,
IlrCommitableObject cobject)
Publish the given element data.
|
abstract void |
reset()
Go back to the default action.
|
abstract boolean |
revert()
Use this method to revert the default action for this operation.
|
public abstract IlrBaseline getLhsBranch()
public abstract IlrBaseline getRhsBranch()
public abstract void ignore()
public abstract boolean publish(MergeOperation.Action action, IlrCommitableObject cobject)
action - may be PublishLeft, PublishRight, PublishBoth.cobject - the element data to storepublic abstract void reset()
public abstract MergeOperation.Action getDefaultAction()
public abstract MergeOperation.Action getAction()
public abstract IlrCommitableObject getMergedObject()
public abstract boolean isConflict()
public abstract boolean isLeftChange()
public abstract boolean isRightChange()
public abstract Change getLeftChange()
public abstract Change getRightChange()
public abstract boolean revert()
© Copyright IBM Corp. 1987, 2017