Class LogOptions

    • Constructor Detail

      • LogOptions

        public LogOptions()
    • Method Detail

      • upto

        public LogOptions upto​(LogLevel upto)
        Parameters:
        upto - Returns all log entries up to log level upto
        Returns:
        options
      • level

        public LogOptions level​(LogLevel level)
        Parameters:
        level - Returns all log entries of log level level. Note that the query parameters upto and level are mutually exclusive
        Returns:
        options
      • getStart

        public Long getStart()
      • start

        public LogOptions start​(Long start)
        Parameters:
        start - Returns all log entries such that their log entry identifier (lid value) is greater or equal to start
        Returns:
        options
      • getSize

        public Integer getSize()
      • size

        public LogOptions size​(Integer size)
        Parameters:
        size - Restricts the result to at most size log entries
        Returns:
        options
      • getOffset

        public Integer getOffset()
      • offset

        public LogOptions offset​(Integer offset)
        Parameters:
        offset - Starts to return log entries skipping the first offset log entries. offset and size can be used for pagination
        Returns:
        options
      • getSearch

        public String getSearch()
      • search

        public LogOptions search​(String search)
        Parameters:
        search - Only return the log entries containing the text specified in search
        Returns:
        options
      • sort

        public LogOptions sort​(LogOptions.SortOrder sort)
        Parameters:
        sort - Sort the log entries either ascending (if sort is asc) or descending (if sort is desc) according to their lid values. Note that the lid imposes a chronological order. The default value is asc
        Returns:
        options