Class ChangeNotes.Factory.ChangeNotesResult

java.lang.Object
com.google.gerrit.server.notedb.ChangeNotes.Factory.ChangeNotesResult
Enclosing class:
ChangeNotes.Factory

public abstract static class ChangeNotes.Factory.ChangeNotesResult extends Object
  • Constructor Details

    • ChangeNotesResult

      public ChangeNotesResult()
  • Method Details

    • id

      public abstract Change.Id id()
      Change ID that was scanned.
    • error

      public abstract Optional<Throwable> error()
      Error encountered while loading this change, if any.
    • notes

      public ChangeNotes notes()
      Notes loaded for this change.
      Returns:
      notes.
      Throws:
      IllegalStateException - if there was an error loading the change; callers must check that error() is absent before attempting to look up the notes.