public class ReflogCommand extends GitCommand<Collection<ReflogEntry>>
repo| Constructor and Description | 
|---|
ReflogCommand(Repository repo)
Constructor for ReflogCommand. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<ReflogEntry> | 
call() | 
ReflogCommand | 
setRef(String ref)
The ref used for the reflog operation. 
 | 
checkCallable, getRepository, setCallablepublic ReflogCommand(Repository repo)
repo - the Repositorypublic ReflogCommand setRef(String ref)
ref - the name of the Ref to logthispublic Collection<ReflogEntry> call() throws GitAPIException, InvalidRefNameException
Execute the command
Run the reflog command
call in interface Callable<Collection<ReflogEntry>>call in class GitCommand<Collection<ReflogEntry>>GitAPIExceptionInvalidRefNameExceptionCopyright © 2020 Eclipse JGit Project. All rights reserved.