Class MonitorQueryItem

java.lang.Object
pro.taskana.monitor.api.reports.item.MonitorQueryItem
All Implemented Interfaces:
AgeQueryItem, QueryItem
Direct Known Subclasses:
DetailedMonitorQueryItem

public class MonitorQueryItem extends Object implements AgeQueryItem
The MonitorQueryItem entity contains the number of tasks for a key (e.g. workbasketKey) and age in days.
  • Constructor Details

    • MonitorQueryItem

      public MonitorQueryItem()
  • Method Details

    • getKey

      public String getKey()
      Description copied from interface: QueryItem
      The key of a QueryItem determines its row within a Report.
      Specified by:
      getKey in interface QueryItem
      Returns:
      the key of this QueryItem.
    • setKey

      public void setKey(String key)
    • getValue

      public int getValue()
      Description copied from interface: QueryItem
      Its value will be added to the existing cell value during the insertion into a Report.
      Specified by:
      getValue in interface QueryItem
      Returns:
      the value
    • getAgeInDays

      public int getAgeInDays()
      Specified by:
      getAgeInDays in interface AgeQueryItem
    • setAgeInDays

      public void setAgeInDays(int ageInDays)
      Specified by:
      setAgeInDays in interface AgeQueryItem
    • setNumberOfTasks

      public void setNumberOfTasks(int numberOfTasks)
    • toString

      public String toString()
      Overrides:
      toString in class Object