public class RemoveNoteCommand extends GitCommand<Note>
repo
Modifier | Constructor | Description |
---|---|---|
protected |
RemoveNoteCommand(Repository repo) |
Modifier and Type | Method | 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 © 2018. All rights reserved.