public final class GitRevertResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GitRevertResult.Status
Result status of a commit revert.
|
Modifier and Type | Method and Description |
---|---|
Collection<File> |
getConflicts()
If the revert 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 commit revert fails because of local modifications then this
method returns a collections of files causing the failure.
|
GitRevisionInfo |
getNewHead() |
GitRevertResult.Status |
getStatus() |
public GitRevertResult.Status getStatus()
public GitRevisionInfo getNewHead()
null
if it failed.public Collection<File> getConflicts()
public Collection<File> getFailures()