Interface BaseResponse<T>

All Known Subinterfaces:
JobErrorStatistics, JobTimeSeriesStatistics, JobTypeStatistics, JobWorkerStatistics, ProcessDefinitionMessageSubscriptionStatistics, SearchResponse<T>
All Known Implementing Classes:
JobErrorStatisticsImpl, JobTimeSeriesStatisticsImpl, JobTypeStatisticsImpl, JobWorkerStatisticsImpl, ProcessDefinitionMessageSubscriptionStatisticsImpl, SearchResponseImpl

public interface BaseResponse<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the list of items
    default T
    Returns the single item or null if the item list is empty
  • Method Details

    • items

      List<T> items()
      Returns the list of items
    • singleItem

      default T singleItem()
      Returns the single item or null if the item list is empty
      Returns:
      the single item or null if the item list is empty
      Throws:
      ClientException - if the items contain more than one entry