|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReconciliationResult
Structured return value for the IReconcilerProvider
.
The semantics of the clone lists are similar to those of the CloneModificationEvent
.
However, they are guaranteed to be non-null at all times.
IReconcilerProvider
,
CloneModificationEvent
Nested Class Summary | |
---|---|
static class |
IReconciliationResult.Status
The final status/result of the reconciliation effort. |
Method Summary | |
---|---|
java.util.List<IClone> |
getLostClones()
Returns a list of clones for which the clone positions could not be reconciled. |
java.util.List<IClone> |
getModifiedClones()
A list of clones for which the content was modified due to the reconciliation. |
java.util.List<IClone> |
getMovedClones()
A list of clones which were moved due to the reconciliation. |
java.util.List<IClone> |
getRemovedClones()
Returns the clones which were removed due to the fact that the reconciled edits removed the clone ranges from the file. |
IReconciliationResult.Status |
getStatus()
The status may only be modified by the IReconcilerProvider . |
boolean |
isFullyReconciled()
Checks whether this result corresponds to a full reconciliation. |
java.lang.String |
toString()
Each implementation should provide a meaningful toString() method. |
Method Detail |
---|
IReconciliationResult.Status getStatus()
IReconcilerProvider
.
IReconcilerProvider
returns.boolean isFullyReconciled()
getStatus()
is IReconciliationResult.Status.FULL_RECONCILIATION
.java.util.List<IClone> getModifiedClones()
CloneModificationEvent.getModifiedClones()
java.util.List<IClone> getMovedClones()
CloneModificationEvent.getMovedClones()
java.util.List<IClone> getRemovedClones()
Clones which were removed because their new positions could not be determined are not part of this list.
A clone which is in this list, may not be in any of the other lists.
getLostClones()
,
CloneModificationEvent.getRemovedClones()
java.util.List<IClone> getLostClones()
If IReconciliationResult.Status.FULL_RECONCILIATION
is set, this method is guaranteed to return
an empty list.
A clone which is in this list, may not be in any of the other lists.
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |