Package com.google.gerrit.server.notedb
Class RobotCommentNotes
java.lang.Object
com.google.gerrit.server.notedb.AbstractChangeNotes<RobotCommentNotes>
com.google.gerrit.server.notedb.RobotCommentNotes
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.google.gerrit.server.notedb.AbstractChangeNotesAbstractChangeNotes.Args, AbstractChangeNotes.LoadHandle
- 
Field SummaryFields inherited from class com.google.gerrit.server.notedb.AbstractChangeNotesargs
- 
Method SummaryModifier and TypeMethodDescriptionbooleancom.google.common.collect.ImmutableListMultimap<org.eclipse.jgit.lib.ObjectId, RobotComment> org.eclipse.jgit.lib.ObjectIdReturns the NameKey for the project where the notes should be stored, which is not necessarily the same as the change's project.Returns name of the reference storing this configuration.protected voidLoad default values for any instance variables when NoteDb is disabled.protected voidonLoad(AbstractChangeNotes.LoadHandle handle) Set up the metadata, parsing any state from the loaded revision.Methods inherited from class com.google.gerrit.server.notedb.AbstractChangeNotesgetChangeId, getRevision, load, load, loadRevision, openHandle, readRef, reload, self
- 
Method Details- 
getCommentspublic com.google.common.collect.ImmutableListMultimap<org.eclipse.jgit.lib.ObjectId,RobotComment> getComments()
- 
containsComment
- 
getRefNameDescription copied from class:AbstractChangeNotesReturns name of the reference storing this configuration.- Specified by:
- getRefNamein class- AbstractChangeNotes<RobotCommentNotes>
 
- 
getMetaIdpublic org.eclipse.jgit.lib.ObjectId getMetaId()
- 
onLoadprotected void onLoad(AbstractChangeNotes.LoadHandle handle) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException Description copied from class:AbstractChangeNotesSet up the metadata, parsing any state from the loaded revision.- Specified by:
- onLoadin class- AbstractChangeNotes<RobotCommentNotes>
- Throws:
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
 
- 
loadDefaultsprotected void loadDefaults()Description copied from class:AbstractChangeNotesLoad default values for any instance variables when NoteDb is disabled.- Specified by:
- loadDefaultsin class- AbstractChangeNotes<RobotCommentNotes>
 
- 
getProjectNameDescription copied from class:AbstractChangeNotesReturns the NameKey for the project where the notes should be stored, which is not necessarily the same as the change's project.- Specified by:
- getProjectNamein class- AbstractChangeNotes<RobotCommentNotes>
 
 
-