Interface GenericManager<T>

All Known Subinterfaces:
TaskManager
All Known Implementing Classes:
GenericManagerImpl, TaskManagerImpl

public interface GenericManager<T>
A generic manager for ClickUp entities.
  • Method Details

    • getClickUp4j

      @NotNull @NotNull ClickUp4j getClickUp4j()
      Returns the ClickUp4j instance.
      Returns:
      The ClickUp4j instance.
    • save

      void save(Consumer<T> consumer)
      Saves the entity.
      Pass a consumer to be called when the request is complete.
      Parameters:
      consumer - The consumer to be called when the request is complete.
    • complete

      T complete()
      Synchronously saves the entity.
      Returns:
      The saved entity.