Class PollerSummary

java.lang.Object
org.lockss.laaws.poller.model.PollerSummary

@Validated public class PollerSummary extends Object
A summary of a poll in which we are the poller.
  • Constructor Details

    • PollerSummary

      public PollerSummary()
  • Method Details

    • auId

      public PollerSummary auId(String auId)
    • getAuId

      @NotNull public @NotNull String getAuId()
      The id for the au being polled.
      Returns:
      auId
    • setAuId

      public void setAuId(String auId)
    • variant

      public PollerSummary variant(String variant)
    • getVariant

      @NotNull public @NotNull String getVariant()
      The V3 Poll variant.
      Returns:
      variant
    • setVariant

      public void setVariant(String variant)
    • status

      public PollerSummary status(String status)
    • getStatus

      @NotNull public @NotNull String getStatus()
      The current status of the poll.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • participants

      public PollerSummary participants(Integer participants)
    • getParticipants

      public Integer getParticipants()
      The number of participants voting.
      Returns:
      participants
    • setParticipants

      public void setParticipants(Integer participants)
    • numTalliedUrls

      public PollerSummary numTalliedUrls(Integer numTalliedUrls)
    • getNumTalliedUrls

      public Integer getNumTalliedUrls()
      The number of tallied urls.
      Returns:
      numTalliedUrls
    • setNumTalliedUrls

      public void setNumTalliedUrls(Integer numTalliedUrls)
    • numHashErrors

      public PollerSummary numHashErrors(Integer numHashErrors)
    • getNumHashErrors

      public Integer getNumHashErrors()
      The number of hash errors.
      Returns:
      numHashErrors
    • setNumHashErrors

      public void setNumHashErrors(Integer numHashErrors)
    • numCompletedRepairs

      public PollerSummary numCompletedRepairs(Integer numCompletedRepairs)
    • getNumCompletedRepairs

      public Integer getNumCompletedRepairs()
      The number of completed repairs.
      Returns:
      numCompletedRepairs
    • setNumCompletedRepairs

      public void setNumCompletedRepairs(Integer numCompletedRepairs)
    • numAgreeUrls

      public PollerSummary numAgreeUrls(Integer numAgreeUrls)
    • getNumAgreeUrls

      public Integer getNumAgreeUrls()
      The number of urls with agreement.
      Returns:
      numAgreeUrls
    • setNumAgreeUrls

      public void setNumAgreeUrls(Integer numAgreeUrls)
    • start

      public PollerSummary start(Long start)
    • getStart

      @NotNull public @NotNull Long getStart()
      The timestamp for when the poll started.
      Returns:
      start
    • setStart

      public void setStart(Long start)
    • deadline

      public PollerSummary deadline(Long deadline)
    • getDeadline

      @NotNull public @NotNull Long getDeadline()
      The deadline for voting in this poll.
      Returns:
      deadline
    • setDeadline

      public void setDeadline(Long deadline)
    • pollEnd

      public PollerSummary pollEnd(Long pollEnd)
    • getPollEnd

      public Long getPollEnd()
      The time at which the poll ended.
      Returns:
      pollEnd
    • setPollEnd

      public void setPollEnd(Long pollEnd)
    • pollKey

      public PollerSummary pollKey(String pollKey)
    • getPollKey

      @NotNull public @NotNull String getPollKey()
      Key generated by poll manager when poll was created.
      Returns:
      pollKey
    • setPollKey

      public void setPollKey(String pollKey)
    • detailLink

      public PollerSummary detailLink(LinkDesc detailLink)
    • getDetailLink

      @Valid public @Valid LinkDesc getDetailLink()
      Get detailLink
      Returns:
      detailLink
    • setDetailLink

      public void setDetailLink(LinkDesc detailLink)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object