public class GetReflog extends java.lang.Object implements RestReadView<BranchResource>
Constructor and Description |
---|
GetReflog(GitRepositoryManager repoManager,
PermissionBackend permissionBackend) |
Modifier and Type | Method and Description |
---|---|
java.util.List<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, PermissionBackend permissionBackend)
public GetReflog setLimit(int limit)
public GetReflog setFrom(java.sql.Timestamp from)
public GetReflog setTo(java.sql.Timestamp to)
public java.util.List<ReflogEntryInfo> apply(BranchResource rsrc) throws RestApiException, java.io.IOException, PermissionBackendException
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.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.RestApiException
java.io.IOException
PermissionBackendException