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, setCallable
protected ListNotesCommand(Repository repo)
repo
- the Repository
public 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>>
GitAPIException
public 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 setthis
Constants.R_NOTES_COMMITS