|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMergeResult
A result wrapper object for the IMergeProvider
.
IMergeProvider
,
IMergeProvider.merge(IMergeTask)
Nested Class Summary | |
---|---|
static class |
IMergeResult.Status
Possible result status values for a merge operation. |
Method Summary | |
---|---|
ICloneFile |
getCloneFile()
The new ICloneFile data for the merged file. |
IMergeResultPerspective |
getLocalPerspective()
Description of the merge implications from the perspective of the local clone data. |
java.util.List<IClone> |
getMergedClones()
A list of the final IClone instances for the merged source file. |
IMergeResultPerspective |
getRemotePerspective()
Description of the merge implications from the perspective of the remote clone data. |
IMergeResult.Status |
getStatus()
Information about the success or failure of this merge operation. |
boolean |
isFullyMerged()
Checks whether this result represents a fully merged state. |
java.lang.String |
toString()
All implementations should provide a meaningful toString() method for debugging purposes. |
Method Detail |
---|
IMergeResult.Status getStatus()
IMergeResult.Status
boolean isFullyMerged()
getStatus()
is IMergeResult.Status.FULL_MERGE
.ICloneFile getCloneFile()
ICloneFile
data for the merged file.
ICloneFile
, never null.IMergeResultPerspective getLocalPerspective()
This is the perspective needed to update the local IStoreProvider
.
IMergeResultPerspective
IMergeResultPerspective getRemotePerspective()
In most cases a client will probably only need the getLocalPerspective()
or getMergedClones()
.
IMergeResultPerspective
java.util.List<IClone> getMergedClones()
IClone
instances for the merged source file.
This data might be calculated on demand. A call might therefore be expensive.
This method is not guaranteed to be thread save.
This is equivalent to (after removing duplicates):
getAddedClones()+getMovedClones()+getModifiedClones()+getUnchangedClones()
A client which only intents to update an IStoreProvider
will not need this information.
The order of the IClone
instances in this list is not defined.
IClone
instances for the final merged source file, may be empty, never null.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 |