Interface PatchSetApprovalUuidGenerator
-
- All Known Implementing Classes:
PatchSetApprovalUuidGeneratorImpl
,TestPatchSetApprovalUuidGenerator
public interface PatchSetApprovalUuidGenerator
Generator forPatchSetApproval.UUID
.Since
PatchSetApproval.UUID
must be unique for each grantedPatchSetApproval
, implementations must generate globally unique UUID for eachget(com.google.gerrit.entities.PatchSet.Id, com.google.gerrit.entities.Account.Id, java.lang.String, short, java.time.Instant)
invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PatchSetApproval.UUID
get(PatchSet.Id patchSetId, Account.Id accountId, String label, short value, Instant granted)
GeneratesPatchSetApproval.UUID
based on the properties ofPatchSetApproval
that is being granted.
-
-
-
Method Detail
-
get
PatchSetApproval.UUID get(PatchSet.Id patchSetId, Account.Id accountId, String label, short value, Instant granted)
GeneratesPatchSetApproval.UUID
based on the properties ofPatchSetApproval
that is being granted.
-
-