Class PatchSetApproval


  • public abstract class PatchSetApproval
    extends Object
    An approval (or negative approval) on a patch set.
    • Constructor Detail

      • PatchSetApproval

        public PatchSetApproval()
    • Method Detail

      • value

        public abstract short value()
        Value assigned by the user.

        The precise meaning of "value" is up to each category.

        In general:

        • < 0: The approval is rejected/revoked.
        • = 0: No indication either way is provided.
        • > 0: The approval is approved/positive.
        and in the negative and positive direction a magnitude can be assumed.The further from 0 the more assertive the approval.
      • granted

        public abstract Timestamp granted()
      • postSubmit

        public abstract boolean postSubmit()
      • copied

        public abstract boolean copied()
      • labelId

        public LabelId labelId()
      • label

        public String label()
      • isLegacySubmit

        public boolean isLegacySubmit()