|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.SVNMergeResult
public class SVNMergeResult
The SVNMergeResult represents a result of a text or properties merge operation. This class combines the following information about a merge result: a status type indicating how merge finished and, if the merge finished with a conflict, the reason of the conflict (why did the conflict ever occur?).
Method Summary | |
---|---|
static SVNMergeResult |
createMergeResult(SVNStatusType status,
SVNConflictReason reason)
Creates a new merge result object. |
SVNConflictReason |
getConflictReason()
Returns conflict reason. |
SVNStatusType |
getMergeStatus()
Returns merge status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SVNMergeResult createMergeResult(SVNStatusType status, SVNConflictReason reason)
status
is not SVNStatusType.CONFLICTED
, reason
is irrelevant and
always set to null. If status
is SVNStatusType.CONFLICTED
and reason
is null, then reason
defaults to
SVNConflictReason.EDITED
.
status
- status of merge operationreason
- reason of the conflict (if any)
public SVNStatusType getMergeStatus()
public SVNConflictReason getConflictReason()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |