public class ListNotesCommand extends GitCommand<java.util.List<Note>>
repo| Modifier | Constructor and Description |
|---|---|
protected |
ListNotesCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Note> |
call()
Executes the command
|
ListNotesCommand |
setNotesRef(java.lang.String notesRef) |
checkCallable, getRepository, setCallableprotected ListNotesCommand(Repository repo)
repo - public java.util.List<Note> call() throws GitAPIException
GitCommandcall in interface java.util.concurrent.Callable<java.util.List<Note>>call in class GitCommand<java.util.List<Note>>GitAPIException - or subclass thereof when an error occurspublic ListNotesCommand setNotesRef(java.lang.String notesRef)
notesRef - 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 © 2012. All Rights Reserved.