|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.api.GitCommand<Note>
org.eclipse.jgit.api.ShowNoteCommand
public class ShowNoteCommand
Show an object note.
Field Summary |
---|
Fields inherited from class org.eclipse.jgit.api.GitCommand |
---|
repo |
Constructor Summary | |
---|---|
protected |
ShowNoteCommand(Repository repo)
|
Method Summary | |
---|---|
Note |
call()
Executes the command |
ShowNoteCommand |
setNotesRef(java.lang.String notesRef)
|
ShowNoteCommand |
setObjectId(RevObject id)
Sets the object id of object you want a note on |
Methods inherited from class org.eclipse.jgit.api.GitCommand |
---|
checkCallable, getRepository, setCallable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ShowNoteCommand(Repository repo)
repo
- Method Detail |
---|
public Note call() throws GitAPIException
GitCommand
call
in interface java.util.concurrent.Callable<Note>
call
in class GitCommand<Note>
GitAPIException
- or subclass thereof when an error occurspublic 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
set
this
Constants.R_NOTES_COMMITS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |