类 TaskAndHistory
java.lang.Object
io.github.a2ap.core.model.TaskAndHistory
Task and history
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明Default constructor.TaskAndHistory(Task task, List<Message> history) Constructor with task and history. -
方法概要
修饰符和类型方法说明static TaskAndHistory.Builderbuilder()Returns a builder for TaskAndHistory.booleanGets the message history.getTask()Gets the task.inthashCode()voidsetHistory(List<Message> history) Sets the message history.voidSets the task.toString()
-
构造器详细资料
-
TaskAndHistory
public TaskAndHistory()Default constructor. -
TaskAndHistory
Constructor with task and history.- 参数:
task- the taskhistory- the message history
-
-
方法详细资料
-
getTask
Gets the task.- 返回:
- the task
-
setTask
Sets the task.- 参数:
task- the task to set
-
getHistory
Gets the message history.- 返回:
- the message history
-
setHistory
Sets the message history.- 参数:
history- the message history to set
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Returns a builder for TaskAndHistory.- 返回:
- a new builder instance
-