public class RobotCommentNotes extends AbstractChangeNotes<RobotCommentNotes>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RobotCommentNotes.Factory |
AbstractChangeNotes.Args, AbstractChangeNotes.LoadHandleargs, autoRebuild, primaryStorage| Modifier and Type | Method and Description |
|---|---|
boolean |
containsComment(RobotComment c) |
com.google.common.collect.ImmutableListMultimap<RevId,RobotComment> |
getComments() |
org.eclipse.jgit.lib.ObjectId |
getMetaId() |
Project.NameKey |
getProjectName() |
String |
getRefName() |
protected void |
loadDefaults()
Load default values for any instance variables when NoteDb is disabled.
|
protected void |
onLoad(AbstractChangeNotes.LoadHandle handle)
Set up the metadata, parsing any state from the loaded revision.
|
getChangeId, getRevision, load, loadRevision, openHandle, openHandle, readRef, reload, selfpublic com.google.common.collect.ImmutableListMultimap<RevId,RobotComment> getComments()
public boolean containsComment(RobotComment c)
public String getRefName()
getRefName in class AbstractChangeNotes<RobotCommentNotes>public org.eclipse.jgit.lib.ObjectId getMetaId()
protected void onLoad(AbstractChangeNotes.LoadHandle handle) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
AbstractChangeNotesonLoad in class AbstractChangeNotes<RobotCommentNotes>IOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionprotected void loadDefaults()
AbstractChangeNotesloadDefaults in class AbstractChangeNotes<RobotCommentNotes>public Project.NameKey getProjectName()
getProjectName in class AbstractChangeNotes<RobotCommentNotes>