|
||||||||||
| 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.AddNoteCommand
public class AddNoteCommand
Add object notes.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.api.GitCommand |
|---|
repo |
| Constructor Summary | |
|---|---|
protected |
AddNoteCommand(Repository repo)
|
| Method Summary | |
|---|---|
Note |
call()
|
AddNoteCommand |
setMessage(java.lang.String message)
|
AddNoteCommand |
setNotesRef(java.lang.String notesRef)
|
AddNoteCommand |
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 AddNoteCommand(Repository repo)
repo - | Method Detail |
|---|
public Note call()
throws JGitInternalException
JGitInternalException - upon internal failurepublic AddNoteCommand setObjectId(RevObject id)
id -
thispublic AddNoteCommand setMessage(java.lang.String message)
message - the notes message used when adding a note
thispublic AddNoteCommand 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
thisConstants.R_NOTES_COMMITS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||