| Modifier and Type | Field and Description |
|---|---|
| private RevObject | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Note | call()
Implements abstract org. Implements java. Computes a result, or throws an exception if unable to do so. |
| pack-priv static void | commitNoteMap(Repository r, String ref, RevWalk walk, NoteMap map, RevCommit notesCommit, ObjectInserter inserter, String msg)
|
| public AddNoteCommand | Returns: thisthe notes message used when adding a note message)Set the notes message |
| public AddNoteCommand | Returns: thisthe ref to read notes from. Note, the default value of
notesRef)org. will be
used if nothing is setSet name of a |
| public AddNoteCommand |
| id | back to summary |
|---|---|
| private RevObject id | |
| message | back to summary |
|---|---|
| private String message | |
| notesRef | back to summary |
|---|---|
| private String notesRef | |
| AddNoteCommand | back to summary |
|---|---|
| protected AddNoteCommand(Repository repo) Constructor for AddNoteCommand
| |
| call | back to summary |
|---|---|
| public Note call() throws GitAPIException Implements abstract org. Implements java. Doc from org. Computes a result, or throws an exception if unable to do so. Execute the command
| |
| commitNoteMap | back to summary |
|---|---|
| pack-priv static void commitNoteMap(Repository r, String ref, RevWalk walk, NoteMap map, RevCommit notesCommit, ObjectInserter inserter, String msg) throws IOException | |
| setMessage | back to summary |
|---|---|
| public AddNoteCommand setMessage(String message) Set the notes message
| |
| setNotesRef | back to summary |
|---|---|
| public AddNoteCommand setNotesRef(String notesRef) Set name of a
| |
| setObjectId | back to summary |
|---|---|
| public AddNoteCommand setObjectId(RevObject id) Sets the object id of object you want a note on. If the object already has a note, the existing note will be replaced.
| |