Package com.embabel.agent.core.hitl
Interface Awaitable
-
- All Implemented Interfaces:
-
com.embabel.common.core.Identified,com.embabel.common.core.StableIdentified,com.embabel.common.core.types.HasInfoString,com.embabel.common.core.types.Timestamped
public interface Awaitable<P extends Object, R extends AwaitableResponse> implements StableIdentified, Timestamped, HasInfoStringSomething awaited by an agent process, such as a request for user input. Added to the Blackboard and treated specially.
-
-
Method Summary
Modifier and Type Method Description abstract ResponseImpactonResponse(R response, AgentProcess agentProcess)Update process state based on this response StringinfoString(Boolean verbose, Integer indent)abstract PgetPayload()-
Methods inherited from class com.embabel.common.core.Identified
persistent -
Methods inherited from class com.embabel.common.core.StableIdentified
getId -
Methods inherited from class com.embabel.common.core.types.Timestamped
getTimestamp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onResponse
abstract ResponseImpact onResponse(R response, AgentProcess agentProcess)
Update process state based on this response
-
infoString
String infoString(Boolean verbose, Integer indent)
-
getPayload
abstract P getPayload()
-
-
-
-