Package com.google.gerrit.server.project
Class GetReflog
- java.lang.Object
- 
- com.google.gerrit.server.project.GetReflog
 
- 
- All Implemented Interfaces:
- RestReadView<BranchResource>,- RestView<BranchResource>
 
 public class GetReflog extends Object implements RestReadView<BranchResource> 
- 
- 
Constructor SummaryConstructors Constructor Description GetReflog(GitRepositoryManager repoManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReflogEntryInfo>apply(BranchResource rsrc)Process the view operation by reading from the resource.GetReflogsetFrom(Timestamp from)GetReflogsetLimit(int limit)GetReflogsetTo(Timestamp to)
 
- 
- 
- 
Constructor Detail- 
GetReflog@Inject public GetReflog(GitRepositoryManager repoManager) 
 
- 
 - 
Method Detail- 
setLimitpublic GetReflog setLimit(int limit) 
 - 
applypublic List<ReflogEntryInfo> apply(BranchResource rsrc) throws RestApiException, IOException Description copied from interface:RestReadViewProcess the view operation by reading from the resource.- Specified by:
- applyin interface- RestReadView<BranchResource>
- Parameters:
- rsrc- resource to read.
- Returns:
- result to return to the client. Use BinaryResultto avoid automatic conversion to JSON.
- Throws:
- 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
- IOException
 
 
- 
 
-