Class TaskLinker

    • Constructor Detail

      • TaskLinker

        public TaskLinker()
      • TaskLinker

        public TaskLinker​(String sort,
                          String attributes,
                          String customFields)
      • TaskLinker

        public TaskLinker​(String attributes,
                          String customFields)
    • Method Detail

      • link

        public void link​(Task task)
        Description copied from interface: IResourceLinker
        Adds HATEOAS links to the given resource.
        Specified by:
        link in interface IResourceLinker<Task>
        Parameters:
        task - the resource on which links should be added
      • link

        public void link​(PagedObject<Task> pagedObject,
                         IPaginator<Task> paginator)
        Description copied from interface: IResourceLinker
        Adds HATEOAS links to the given paged set of resources. Adds links both on the enclosing paged object (if pagination is enabled) and on the enclosed resources. Pagination ma
        Specified by:
        link in interface IResourceLinker<Task>
        Parameters:
        pagedObject - the object enclosing a page of resources
        paginator - the paginator, used for determining whether paging is enabled, first page number, last page number, etc.