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, HasInfoString
                        

    Something awaited by an agent process, such as a request for user input. Added to the Blackboard and treated specially.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ResponseImpact onResponse(R response, AgentProcess agentProcess) Update process state based on this response
      String infoString(Boolean verbose, Integer indent)
      abstract P getPayload()
      • Methods inherited from class com.embabel.common.core.Identified

        persistent
      • Methods inherited from class com.embabel.common.core.types.Timestamped

        getTimestamp, isLaterThan
      • Methods inherited from class com.embabel.common.core.StableIdentified

        getId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait