public class RemoveNoteCommand extends GitCommand<Note>
repo| Modifier | Constructor and Description |
|---|---|
protected |
RemoveNoteCommand(Repository repo)
Constructor for RemoveNoteCommand.
|
| Modifier and Type | Method and Description |
|---|---|
Note |
call() |
RemoveNoteCommand |
setNotesRef(String notesRef)
Set the name of the
Ref to remove a note from. |
RemoveNoteCommand |
setObjectId(RevObject id)
Sets the object id of object you want to remove a note
|
checkCallable, getRepository, setCallableprotected RemoveNoteCommand(Repository repo)
Constructor for RemoveNoteCommand.
repo - the Repositorypublic Note call() throws GitAPIException
Execute the command
call in interface Callable<Note>call in class GitCommand<Note>GitAPIExceptionpublic RemoveNoteCommand setObjectId(RevObject id)
id - the RevObject to remove a
note from.thispublic RemoveNoteCommand setNotesRef(String notesRef)
Ref to remove a note from.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 © 2018 Eclipse JGit Project. All rights reserved.