public abstract static class ChangeNotes.Factory.ChangeNotesResult extends Object
Constructor and Description |
---|
ChangeNotesResult() |
Modifier and Type | Method and Description |
---|---|
abstract 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 Optional<com.google.gwtorm.server.OrmException> error()
public ChangeNotes notes()
IllegalStateException
- if there was an error loading the change; callers must check
that error()
is absent before attempting to look up the notes.