Class ReviewerResource

    • Constructor Detail

      • ReviewerResource

        public ReviewerResource​(ChangeResource change,
                                com.google.gerrit.mail.Address address)
      • ReviewerResource

        public ReviewerResource​(RevisionResource revision,
                                com.google.gerrit.mail.Address address)
    • Method Detail

      • getChangeId

        public Change.Id getChangeId()
      • getChange

        public Change getChange()
      • getReviewerByEmail

        public com.google.gerrit.mail.Address getReviewerByEmail()
      • isByEmail

        public boolean isByEmail()
        Check if this resource was constructed by email or by Account.Id.
        Returns:
        true if the resource was constructed by providing an Address; false if the resource was constructed by providing an Account.Id.