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, setCallable
public ReflogCommand(Repository repo)
repo
- public ReflogCommand setRef(java.lang.String ref)
ref
- this
public 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>>
GitAPIException
InvalidRefNameException
Copyright © 2012. All Rights Reserved.