Interface TaskResultBuilder

All Known Implementing Classes:
BufferedTaskResultBuilder

public interface TaskResultBuilder
Here the interface is just a suggestion. Can be whatever PDT team thinks is best to work with
  • Field Details

  • Method Details

    • appendCommandRecord

      boolean appendCommandRecord(long key, Intent intent, UnifiedRecordValue value)
      Appends a record to the result
      Returns:
      returns true if the record still fits into the result, false otherwise
    • appendCommandRecord

      default boolean appendCommandRecord(Intent intent, UnifiedRecordValue value)
      Appends a record to the result without a key
      Returns:
      returns true if the record still fits into the result, false otherwise
    • build

      TaskResult build()