public class ShowNoteCommand extends GitCommand<Note>
repo
Modifier | Constructor and Description |
---|---|
protected |
ShowNoteCommand(Repository repo) |
Modifier and Type | Method and Description |
---|---|
Note |
call() |
ShowNoteCommand |
setNotesRef(java.lang.String notesRef) |
ShowNoteCommand |
setObjectId(RevObject id)
Sets the object id of object you want a note on
|
checkCallable, getRepository, setCallable
protected ShowNoteCommand(Repository repo)
repo
- public Note call() throws JGitInternalException
JGitInternalException
- upon internal failurepublic ShowNoteCommand setObjectId(RevObject id)
id
- this
public ShowNoteCommand setNotesRef(java.lang.String notesRef)
notesRef
- 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 © 2012. All Rights Reserved.