public class ReflogCommand extends GitCommand<java.util.Collection<ReflogEntry>>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
ref |
repo| Constructor and Description |
|---|
ReflogCommand(Repository repo)
Constructor for ReflogCommand.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ReflogEntry> |
call() |
ReflogCommand |
setRef(java.lang.String ref)
The ref used for the reflog operation.
|
checkCallable, getRepository, setCallablepublic ReflogCommand(Repository repo)
repo - the Repositorypublic ReflogCommand setRef(java.lang.String ref)
ref - the name of the Ref to logthispublic java.util.Collection<ReflogEntry> call() throws GitAPIException, InvalidRefNameException
Execute the command
Run the reflog command
call in interface java.util.concurrent.Callable<java.util.Collection<ReflogEntry>>call in class GitCommand<java.util.Collection<ReflogEntry>>GitAPIExceptionInvalidRefNameException