Class TaskQueryItem

java.lang.Object
pro.taskana.monitor.api.reports.item.TaskQueryItem
All Implemented Interfaces:
QueryItem

public class TaskQueryItem extends Object implements QueryItem
The TaskQueryItem entity contains the number of tasks for a domain which have a specific state.
  • Constructor Details

    • TaskQueryItem

      public TaskQueryItem()
  • Method Details

    • setWorkbasketKey

      public void setWorkbasketKey(String workbasketKey)
    • setCount

      public void setCount(int count)
    • getState

      public TaskState getState()
    • setState

      public void setState(TaskState state)
    • 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.
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object