Modifier and Type | Class and Description |
---|---|
static class |
CommitResult.CommitStatus |
Constructor and Description |
---|
CommitResult(CommitResult.CommitStatus commitStatus,
String resultMessage)
Creates a CommitResult with a given status and additional information message.
|
Modifier and Type | Method and Description |
---|---|
CommitResult.CommitStatus |
getCommitStatus() |
String |
getResultMessage() |
public CommitResult(CommitResult.CommitStatus commitStatus, String resultMessage)
commitStatus
- the status of the commitresultMessage
- an optional message describing the problem in case the commit was not successfulpublic CommitResult.CommitStatus getCommitStatus()
public String getResultMessage()
Copyright © 2019. All rights reserved.