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, setCallable
protected ListNotesCommand(Repository repo)
repo
- the Repository
public List<Note> call() throws GitAPIException
Execute the command
call
in interface Callable<List<Note>>
call
in class GitCommand<List<Note>>
GitAPIException
public 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 setthis
Constants.R_NOTES_COMMITS
Copyright © 2020 Eclipse JGit Project. All rights reserved.