|
org.netbeans.libs.git/1 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.libs.git.GitMergeResult
public final class GitMergeResult
Returned by a git merge command, represents its result.
| Nested Class Summary | |
|---|---|
static class |
GitMergeResult.MergeStatus
The status the merge resulted in. |
| Method Summary | |
|---|---|
String |
getBase()
|
Collection<File> |
getConflicts()
If the merge started but was unable to finish because of unresolved conflicts then the method returns a collection of such files in conflict. |
Collection<File> |
getFailures()
When the merge fails because of local modifications then this method returns a collections of files causing the failure. |
String[] |
getMergedCommits()
|
GitMergeResult.MergeStatus |
getMergeStatus()
|
String |
getNewHead()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public GitMergeResult.MergeStatus getMergeStatus()
public String getBase()
null if the result was produced without
computing a common basepublic String[] getMergedCommits()
public String getNewHead()
null if the merge failed.public Collection<File> getConflicts()
public Collection<File> getFailures()
|
org.netbeans.libs.git/1 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||