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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanappendCommandRecord(long key, Intent intent, UnifiedRecordValue value) Appends a record to the resultdefault booleanappendCommandRecord(Intent intent, UnifiedRecordValue value) Appends a record to the result without a keybuild()
-
Field Details
-
NULL_KEY
static final long NULL_KEY- See Also:
-
-
Method Details
-
appendCommandRecord
Appends a record to the result- Returns:
- returns true if the record still fits into the result, false otherwise
-
appendCommandRecord
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()
-