Interface BacklogHandler<T extends Issue>

    • Method Detail

      • get

        java.util.Optional<T> get​(java.lang.Long id)
        This method returns the optional BacklogHandler with the given id or an empty optional, if the BacklogHandler with the given id does not exist within the backlog.
        Parameters:
        id - the id of the BacklogHandler to be returned
        Returns:
        the optional BacklogHandler with the given id or an empty optional if not existing in the backlog
        Since:
        11.25
      • stream

        java.util.stream.Stream<T> stream()
        Returns a sequential Stream over the backlog of BacklogHandler elements as its source. Please note that the underlying stream source guarantees order by routing priority. In case of service level based routing the stream is ordered by the individually calculated service level ratio of each BacklogHandler descending from high to low. Please also note that the stream source may contain BacklogHandler elements that are not routable. To filter the routable BacklogHandler elements please use the isRoutable() predicate to filter the stream.
        Returns:
        a sequential Stream over the BacklogHandler elements in the backlog
        Since:
        11.25
      • isRoutable

        java.util.function.Predicate<T> isRoutable()
        The method provides a Predicate for BacklogHandler that allows to filter only the routable BacklogHandler elements.
        Returns:
        a Predicate for BacklogHandler to filter routable elements only
        Since:
        11.25