Class VotingAdapter.VoteResult

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    VotingAdapter.FailureVoteResult
    Enclosing class:
    VotingAdapter

    public static class VotingAdapter.VoteResult
    extends java.lang.Object
    implements java.io.Serializable
    This class represents the result of local voting. It contains a number of positive and negative votes collected during local voting.
    See Also:
    Serialized Form
    • Constructor Detail

      • VoteResult

        public VoteResult()
    • Method Detail

      • addVote

        public void addVote​(boolean vote)
      • getPositiveVotes

        public int getPositiveVotes()
      • getNegativeVotes

        public int getNegativeVotes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object