Package com.google.gerrit.server.notedb
Class ChangeNoteUtil.ParsedPatchSetApproval
- java.lang.Object
-
- com.google.gerrit.server.notedb.ChangeNoteUtil.ParsedPatchSetApproval
-
- Enclosing class:
- ChangeNoteUtil
public abstract static class ChangeNoteUtil.ParsedPatchSetApproval extends Object
PatchSetApproval
, parsed fromChangeNoteUtil.FOOTER_LABEL
orChangeNoteUtil.FOOTER_COPIED_LABEL
.In comparison to
PatchSetApproval
, this entity represent the raw fields, parsed from the NoteDB footer line, without any interpretation of the parsed values. SeeChangeNoteUtil.parseApproval(java.lang.String)
andChangeNoteUtil.parseCopiedApproval(java.lang.String)
for the validfooterLine()
values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeNoteUtil.ParsedPatchSetApproval.Builder
-
Constructor Summary
Constructors Constructor Description ParsedPatchSetApproval()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Optional<String>
accountIdent()
static ChangeNoteUtil.ParsedPatchSetApproval.Builder
builder()
abstract String
footerLine()
The original footer value, that this entity was parsed from.abstract boolean
isRemoval()
abstract String
labelVote()
Eitherabstract Optional<String>
realAccountIdent()
abstract Optional<String>
tag()
abstract Optional<String>
uuid()
-
-
-
Method Detail
-
footerLine
public abstract String footerLine()
The original footer value, that this entity was parsed from.
-
isRemoval
public abstract boolean isRemoval()
-
labelVote
public abstract String labelVote()
Either=VOTE or for isRemoval()
.
-
builder
public static ChangeNoteUtil.ParsedPatchSetApproval.Builder builder()
-
-