public class GetReflog extends java.lang.Object implements RestReadView<BranchResource>
Modifier and Type | Class and Description |
---|---|
static class |
GetReflog.ReflogEntryInfo |
Constructor and Description |
---|
GetReflog(GitRepositoryManager repoManager) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GetReflog.ReflogEntryInfo> |
apply(BranchResource rsrc)
Process the view operation by reading from the resource.
|
GetReflog |
setFrom(java.sql.Timestamp from) |
GetReflog |
setLimit(int limit) |
GetReflog |
setTo(java.sql.Timestamp to) |
@Inject public GetReflog(GitRepositoryManager repoManager)
public GetReflog setLimit(int limit)
public GetReflog setFrom(java.sql.Timestamp from)
public GetReflog setTo(java.sql.Timestamp to)
public java.util.List<GetReflog.ReflogEntryInfo> apply(BranchResource rsrc) throws AuthException, ResourceNotFoundException, org.eclipse.jgit.errors.RepositoryNotFoundException, java.io.IOException
RestReadView
apply
in interface RestReadView<BranchResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.ResourceNotFoundException
org.eclipse.jgit.errors.RepositoryNotFoundException
java.io.IOException