public class RemoveNoteCommand extends GitCommand<Note>
repo| Modifier | Constructor and Description | 
|---|---|
protected  | 
RemoveNoteCommand(Repository repo)  | 
| Modifier and Type | Method and Description | 
|---|---|
Note | 
call()
Executes the command 
 | 
RemoveNoteCommand | 
setNotesRef(String notesRef)  | 
RemoveNoteCommand | 
setObjectId(RevObject id)
Sets the object id of object you want to remove a note 
 | 
checkCallable, getRepository, setCallableprotected RemoveNoteCommand(Repository repo)
repo - public Note call() throws GitAPIException
GitCommandcall in interface Callable<Note>call in class GitCommand<Note>GitAPIException - or subclass thereof when an error occurspublic RemoveNoteCommand setObjectId(RevObject id)
id - thispublic RemoveNoteCommand setNotesRef(String notesRef)
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 © 2015 Eclipse JGit Project. All rights reserved.