Interface PatchSetApprovalUuidGenerator
- All Known Implementing Classes:
PatchSetApprovalUuidGeneratorImpl
,TestPatchSetApprovalUuidGenerator
public interface PatchSetApprovalUuidGenerator
Generator for
PatchSetApproval.UUID
.
Since PatchSetApproval.UUID
must be unique for each granted
PatchSetApproval
, implementations must generate globally unique UUID for each get(com.google.gerrit.entities.PatchSet.Id, com.google.gerrit.entities.Account.Id, java.lang.String, short, java.time.Instant)
invocation.
-
Method Summary
Modifier and TypeMethodDescriptionget
(PatchSet.Id patchSetId, Account.Id accountId, String label, short value, Instant granted) GeneratesPatchSetApproval.UUID
based on the properties ofPatchSetApproval
that is being granted.
-
Method Details
-
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.
-