public class RemoveNoteCommand extends GitCommand<Note>
repo
Modifier | Constructor and Description |
---|---|
protected |
RemoveNoteCommand(Repository repo) |
Modifier and Type | Method and Description |
---|---|
Note |
call() |
RemoveNoteCommand |
setNotesRef(java.lang.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 JGitInternalException
JGitInternalException
- upon internal failurepublic RemoveNoteCommand setObjectId(RevObject id)
id
- this
public RemoveNoteCommand setNotesRef(java.lang.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 © 2012. All Rights Reserved.