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
ConstructorsModifierConstructorDescriptionprotectedListNotesCommand(Repository repo) Constructor for ListNotesCommand. -
Method Summary
Modifier and TypeMethodDescriptioncall()setNotesRef(String notesRef) Set theRefto 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:
callin interfaceCallable<List<Note>>- Specified by:
callin classGitCommand<List<Note>>- Throws:
GitAPIException
-
setNotesRef
Set theRefto read notes from- Parameters:
notesRef- the name of theRefto read notes from. Note, the default value ofConstants.R_NOTES_COMMITSwill be used if nothing is set- Returns:
this- See Also:
-