public class GetReflog extends Object implements RestReadView<BranchResource>
| Constructor and Description |
|---|
GetReflog(GitRepositoryManager repoManager,
PermissionBackend permissionBackend) |
| Modifier and Type | Method and Description |
|---|---|
List<ReflogEntryInfo> |
apply(BranchResource rsrc)
Process the view operation by reading from the resource.
|
GetReflog |
setFrom(Timestamp from) |
GetReflog |
setLimit(int limit) |
GetReflog |
setTo(Timestamp to) |
@Inject public GetReflog(GitRepositoryManager repoManager, PermissionBackend permissionBackend)
public GetReflog setLimit(int limit)
public List<ReflogEntryInfo> apply(BranchResource rsrc) throws RestApiException, IOException, PermissionBackendException
RestReadViewapply 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.RestApiExceptionIOExceptionPermissionBackendException