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, setCallable
protected RemoveNoteCommand(Repository repo)
repo
- public Note call() throws GitAPIException
GitCommand
call
in interface Callable<Note>
call
in class GitCommand<Note>
GitAPIException
- or subclass thereof when an error occurspublic RemoveNoteCommand setObjectId(RevObject id)
id
- this
public 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
setthis
Constants.R_NOTES_COMMITS
Copyright © 2016 Eclipse JGit Project. All rights reserved.