public class RobotCommentNotes extends AbstractChangeNotes<RobotCommentNotes>
Modifier and Type | Class and Description |
---|---|
static interface |
RobotCommentNotes.Factory |
AbstractChangeNotes.Args, AbstractChangeNotes.LoadHandle
args
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, self
public 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
AbstractChangeNotes
onLoad
in class AbstractChangeNotes<RobotCommentNotes>
IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected void loadDefaults()
AbstractChangeNotes
loadDefaults
in class AbstractChangeNotes<RobotCommentNotes>
public Project.NameKey getProjectName()
getProjectName
in class AbstractChangeNotes<RobotCommentNotes>