java.lang.Object
com.gentics.contentnode.rest.model.response.admin.ObjectCount

public class ObjectCount extends Object
Object counts for the publish info
  • Field Details

    • toPublish

      protected int toPublish
    • delayed

      protected int delayed
    • published

      protected int published
    • remaining

      protected int remaining
  • Constructor Details

    • ObjectCount

      public ObjectCount()
  • Method Details

    • getToPublish

      public int getToPublish()
      Number of objects to publish
      Returns:
      to publish count
    • setToPublish

      public ObjectCount setToPublish(int toPublish)
      Set number of object to publish
      Parameters:
      toPublish - count
      Returns:
      fluent API
    • getDelayed

      public int getDelayed()
      Number of delayed objects
      Returns:
      delay count
    • setDelayed

      public ObjectCount setDelayed(int delayed)
      Set number of delayed objects
      Parameters:
      delayed - count
      Returns:
      fluent API
    • getPublished

      public int getPublished()
      Number of objects, which are already published in the current publish process
      Returns:
      publish count
    • setPublished

      public ObjectCount setPublished(int published)
      Set number of published objects
      Parameters:
      published - count
      Returns:
      fluent API
    • getRemaining

      public int getRemaining()
      Number of objects remaining to be published in the current publish process
      Returns:
      remaining count
    • setRemaining

      public ObjectCount setRemaining(int remaining)
      Set number of remaining objects
      Parameters:
      remaining - count
      Returns:
      fluent API
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object