类 TaskAndHistory.Builder
java.lang.Object
io.github.a2ap.core.model.TaskAndHistory.Builder
- 封闭类:
- TaskAndHistory
Builder class for TaskAndHistory.
-
方法概要
-
方法详细资料
-
task
Sets the task.- 参数:
task- the task- 返回:
- this builder for chaining
-
history
Sets the message history.- 参数:
history- the message history- 返回:
- this builder for chaining
-
build
Builds a new TaskAndHistory instance.- 返回:
- the built instance
-