public class ListNotesCommand extends GitCommand<List<Note>>
repo| Modifier | Constructor and Description |
|---|---|
protected |
ListNotesCommand(Repository repo)
Constructor for ListNotesCommand.
|
| Modifier and Type | Method and Description |
|---|---|
List<Note> |
call() |
ListNotesCommand |
setNotesRef(String notesRef)
Set the
Ref to read notes from |
checkCallable, getRepository, setCallableprotected ListNotesCommand(Repository repo)
repo - the Repositorypublic List<Note> call() throws GitAPIException
Execute the command
call in interface Callable<List<Note>>call in class GitCommand<List<Note>>GitAPIExceptionpublic ListNotesCommand setNotesRef(String notesRef)
Ref to read notes fromnotesRef - the name of the Ref to read notes from. Note, the
default value of
Constants.R_NOTES_COMMITS will be
used if nothing is setthisConstants.R_NOTES_COMMITSCopyright © 2018 Eclipse JGit Project. All rights reserved.