Class MimeCounter

java.lang.Object
org.lockss.laaws.crawler.model.MimeCounter

@Validated public class MimeCounter extends Object
A counter for mimeTypes seen during a crawl.
  • Constructor Details

    • MimeCounter

      public MimeCounter()
  • Method Details

    • mimeType

      public MimeCounter mimeType(String mimeType)
    • getMimeType

      @NotNull public @NotNull String getMimeType()
      The mime type to count.
      Returns:
      mimeType
    • setMimeType

      public void setMimeType(String mimeType)
    • count

      public MimeCounter count(Integer count)
    • getCount

      public Integer getCount()
      The number of elements of mime type
      Returns:
      count
    • setCount

      public void setCount(Integer count)
    • counterLink

      public MimeCounter counterLink(String counterLink)
    • getCounterLink

      public String getCounterLink()
      A link to the list of count elements or to a pager with count elements.
      Returns:
      counterLink
    • setCounterLink

      public void setCounterLink(String counterLink)
    • 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