Interface Checklist.Item

All Known Implementing Classes:
ChecklistImpl.ItemImpl
Enclosing interface:
Checklist

public static interface Checklist.Item
An item in the checklist.
  • Method Details

    • getId

      @NotNull @NotNull String getId()
      The item's ID.
      Returns:
      The item's ID.
    • getName

      @NotNull @NotNull String getName()
      The item's name.
      Returns:
      The item's name.
    • getOrderIndex

      double getOrderIndex()
      The item's ordering index. This can be used as a sorting key.
      Returns:
      The item's ordering index.
    • getAssignee

      @Nullable @Nullable User getAssignee()
      This item's assignee.
      Returns:
      The item's assignee.
    • getGroupAssignee

      void getGroupAssignee()
    • isResolved

      boolean isResolved()
      Returns whether this item is marked as complete.
      Returns:
      Whether this item is marked as complete.
    • getParent

      @Nullable @Nullable Checklist.Item getParent()
      The parent item of this checklist item.
      If this is null, this item is a top-level item.
      Returns:
      Nullable parent item of this checklist item.
    • getCreatedAt

      @NotNull @NotNull OffsetDateTime getCreatedAt()
      Returns when this item was created.
      Returns:
      When this item was created.
    • getChildren

      @NotNull @NotNull List<Checklist.Item> getChildren()
      All child items of this item. If the item has no children, this will be empty.
      Returns:
      Never-null list containing all child items of this item.