Interface Context

  • All Implemented Interfaces:
    com.embabel.common.core.types.HasInfoString

    
    public interface Context
     implements HasInfoString
                        

    Longer-lived interface than a blackboard.

    • 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 Unit bind(String key, Object value)
      abstract Unit addObject(Object value)
      <T extends Any> T last(Class<T> clazz)
      abstract Unit populate(Blackboard blackboard) Populate the given blackboard from the context.
      abstract String getId() May be null for a new context not yet saved.
      abstract List<Object> getObjects() Entries in the order they were added.
      • Methods inherited from class com.embabel.common.core.types.HasInfoString

        infoString
      • Methods inherited from class java.lang.Object

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