public class ReflogCommand extends GitCommand<Collection<ReflogEntry>>
repo| Constructor and Description |
|---|
ReflogCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ReflogEntry> |
call()
Run the reflog command
|
ReflogCommand |
setRef(String ref)
The ref used for the reflog operation.
|
checkCallable, getRepository, setCallablepublic ReflogCommand(Repository repo)
repo - public ReflogCommand setRef(String ref)
ref - thispublic Collection<ReflogEntry> call() throws GitAPIException, InvalidRefNameException
call in interface Callable<Collection<ReflogEntry>>call in class GitCommand<Collection<ReflogEntry>>GitAPIExceptionInvalidRefNameExceptionCopyright © 2014. All rights reserved.