Class PatchSetApprovalUuidGeneratorImpl
java.lang.Object
com.google.gerrit.server.approval.PatchSetApprovalUuidGeneratorImpl
- All Implemented Interfaces:
PatchSetApprovalUuidGenerator
public class PatchSetApprovalUuidGeneratorImpl
extends Object
implements PatchSetApprovalUuidGenerator
Default implementation of
PatchSetApprovalUuidGenerator
.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
PatchSetApprovalUuidGeneratorImpl
public PatchSetApprovalUuidGeneratorImpl()
-
-
Method Details
-
get
public PatchSetApproval.UUID get(PatchSet.Id patchSetId, Account.Id accountId, String label, short value, Instant granted) Description copied from interface:PatchSetApprovalUuidGenerator
GeneratesPatchSetApproval.UUID
based on the properties ofPatchSetApproval
that is being granted.- Specified by:
get
in interfacePatchSetApprovalUuidGenerator
-