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