Package org.eclipse.jgit.api
Class ListNotesCommand
List object notes.
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.api.GitCommand
repo
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ListNotesCommand
(Repository repo) Constructor for ListNotesCommand. -
Method Summary
Modifier and TypeMethodDescriptioncall()
setNotesRef
(String notesRef) Set theRef
to read notes fromMethods inherited from class org.eclipse.jgit.api.GitCommand
checkCallable, getRepository, setCallable
-
Field Details
-
notesRef
-
-
Constructor Details
-
ListNotesCommand
Constructor for ListNotesCommand.- Parameters:
repo
- theRepository
-
-
Method Details
-
call
Execute the command
- Specified by:
call
in interfaceCallable<List<Note>>
- Specified by:
call
in classGitCommand<List<Note>>
- Throws:
GitAPIException
-
setNotesRef
Set theRef
to read notes from- Parameters:
notesRef
- the name of theRef
to read notes from. Note, the default value ofConstants.R_NOTES_COMMITS
will be used if nothing is set- Returns:
this
- See Also:
-