public class ShowNoteCommand extends GitCommand<Note>
repo| Modifier | Constructor and Description |
|---|---|
protected |
ShowNoteCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
Note |
call()
Executes the command
|
ShowNoteCommand |
setNotesRef(String notesRef) |
ShowNoteCommand |
setObjectId(RevObject id)
Sets the object id of object you want a note on
|
checkCallable, getRepository, setCallableprotected ShowNoteCommand(Repository repo)
repo - public Note call() throws GitAPIException
GitCommandcall in interface Callable<Note>call in class GitCommand<Note>GitAPIException - or subclass thereof when an error occurspublic ShowNoteCommand setObjectId(RevObject id)
id - thispublic ShowNoteCommand setNotesRef(String notesRef)
notesRef - the ref to read notes from. Note, the default value of
Constants.R_NOTES_COMMITS will be used if nothing is
setthisConstants.R_NOTES_COMMITSCopyright © 2014. All rights reserved.