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