Interface MergeResult

All Known Implementing Classes:

public interface MergeResult

Method Summary
 String getMergedContent()
          Returns the result of the merge.
 boolean hasConflicts()
          True if the merge failed.

Method Detail


boolean hasConflicts()
True if the merge failed. If true is returned here the return value of getMergedContent() is undefined (likely null).

true if the merge failed, otherwise false


String getMergedContent()
Returns the result of the merge. If the merge resulted in a conflict this method may return null, or a partially merged string. Implementers should return the data in the same format as the one that was passed in.

result of merge if merge was successful, if the merge had conflicts the return value is undefined.

Copyright © 2003-2013 Atlassian. All Rights Reserved.