public interface Awareness
Modifier and Type | Method and Description |
---|---|
void |
addSense(Sense sense) |
void |
addTool(Tool sense) |
void |
awake() |
Bot |
getBot() |
<T> T |
getSense(java.lang.Class<T> type) |
Sense |
getSense(java.lang.String name)
Return the sense with the name.
|
java.util.Map<java.lang.String,Sense> |
getSenses() |
<T> T |
getTool(java.lang.Class<T> type) |
Tool |
getTool(java.lang.String name)
Return the tool with the name.
|
java.util.Map<java.lang.String,Tool> |
getTools() |
void |
initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
Initialize any configuration properties.
|
void |
output(Vertex output)
Allow the sense to output the response.
|
void |
pool()
Reset state when instance is pooled.
|
void |
removeSense(Sense sense) |
void |
removeTool(Tool sense) |
void |
setBot(Bot Bot) |
void |
shutdown() |
void shutdown()
void awake()
void pool()
java.util.Map<java.lang.String,Sense> getSenses()
<T> T getSense(java.lang.Class<T> type)
Sense getSense(java.lang.String name)
void addSense(Sense sense)
void removeSense(Sense sense)
java.util.Map<java.lang.String,Tool> getTools()
<T> T getTool(java.lang.Class<T> type)
Tool getTool(java.lang.String name)
void addTool(Tool sense)
void removeTool(Tool sense)
Bot getBot()
void setBot(Bot Bot)
void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
void output(Vertex output)