public class ListNotesCommand extends GitCommand<java.util.List<Note>>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
notesRef |
repo| Modifier | Constructor and Description |
|---|---|
protected |
ListNotesCommand(Repository repo)
Constructor for ListNotesCommand.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Note> |
call() |
ListNotesCommand |
setNotesRef(java.lang.String notesRef)
Set the
Ref to read notes from |
checkCallable, getRepository, setCallableprotected ListNotesCommand(Repository repo)
repo - the Repositorypublic java.util.List<Note> call() throws GitAPIException
Execute the command
call in interface java.util.concurrent.Callable<java.util.List<Note>>call in class GitCommand<java.util.List<Note>>GitAPIExceptionpublic ListNotesCommand setNotesRef(java.lang.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_COMMITS