public class GetCommitResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a get commit operation.
Modifier and Type | Field and Description |
---|---|
private Commit |
commit
Information about the specified commit.
|
Constructor and Description |
---|
GetCommitResult() |
Modifier and Type | Method and Description |
---|---|
GetCommitResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Commit |
getCommit()
Information about the specified commit.
|
int |
hashCode() |
void |
setCommit(Commit commit)
Information about the specified commit.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCommitResult |
withCommit(Commit commit)
Information about the specified commit.
|
private Commit commit
Information about the specified commit.
public void setCommit(Commit commit)
Information about the specified commit.
commit
- Information about the specified commit.public Commit getCommit()
Information about the specified commit.
public GetCommitResult withCommit(Commit commit)
Information about the specified commit.
commit
- Information about the specified commit.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetCommitResult clone()
clone
in class java.lang.Object