Class ApprovalCopier.Result

    • Constructor Detail

      • Result

        public Result()
    • Method Detail

      • copiedApprovals

        public abstract com.google.common.collect.ImmutableSet<PatchSetApproval> copiedApprovals()
        Approvals that have been copied from the previous patch set.

        An approval is copied if:

        • the approval on the previous patch set matches the copy condition of its label
        • the approval is not overridden by a current approval on the patch set
      • outdatedApprovals

        public abstract com.google.common.collect.ImmutableSet<PatchSetApproval> outdatedApprovals()
        Approvals on the previous patch set that have not been copied to the patch set.

        These approvals didn't match the copy condition of their labels and hence haven't been copied.

        Only returns non-copied approvals of the previous patch set. Approvals from earlier patch sets that were outdated before are not included.