public class GetCommit extends java.lang.Object implements RestReadView<RevisionResource>
Modifier and Type | Method and Description |
---|---|
Response<CommitInfo> |
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.
|
GetCommit |
setAddLinks(boolean addLinks) |
public GetCommit setAddLinks(boolean addLinks)
public Response<CommitInfo> apply(RevisionResource rsrc) throws java.io.IOException
RestReadView
apply
in interface RestReadView<RevisionResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.java.io.IOException