public abstract static class ChangeNotes.Factory.ChangeNotesResult
extends java.lang.Object
Constructor and Description |
---|
ChangeNotesResult() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Optional<com.google.gwtorm.server.OrmException> |
error()
Error encountered while loading this change, if any.
|
abstract Change.Id |
id()
Change ID that was scanned.
|
ChangeNotes |
notes()
Notes loaded for this change.
|
public abstract Change.Id id()
public abstract java.util.Optional<com.google.gwtorm.server.OrmException> error()
public ChangeNotes notes()
java.lang.IllegalStateException
- if there was an error loading the change; callers must check
that error()
is absent before attempting to look up the notes.