public class ListNotesCommand extends GitCommand<List<Note>>
repo
Modifier | Constructor and Description |
---|---|
protected |
ListNotesCommand(Repository repo) |
Modifier and Type | Method and Description |
---|---|
List<Note> |
call()
Executes the command
|
ListNotesCommand |
setNotesRef(String notesRef) |
checkCallable, getRepository, setCallable
protected ListNotesCommand(Repository repo)
repo
- public List<Note> call() throws GitAPIException
GitCommand
call
in interface Callable<List<Note>>
call
in class GitCommand<List<Note>>
GitAPIException
- or subclass thereof when an error occurspublic ListNotesCommand setNotesRef(String notesRef)
notesRef
- the ref to read notes from. Note, the default value of
Constants.R_NOTES_COMMITS
will be used if nothing is
setthis
Constants.R_NOTES_COMMITS
Copyright © 2015 Eclipse JGit Project. All rights reserved.