|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.teamserver.model.MergeOperation
public abstract class MergeOperation
Description of a change between two branches.
Nested Class Summary | |
---|---|
static class |
MergeOperation.Action
List of actions that can be applied to the MergeOperation elements. |
Constructor Summary | |
---|---|
MergeOperation()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MergeOperation()
Method Detail |
---|
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 store
public 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()
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |