public interface Thought
Modifier and Type | Method and Description |
---|---|
void |
awake()
Perform any initialization required on startup.
|
Bot |
getBot()
Return the associated Bot instance.
|
java.lang.String |
getName()
Return the name that identifies the thought.
|
Primitive |
getPrimitive()
Return the primitive representation of the thought.
|
void |
initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
Initialize any configuration properties.
|
boolean |
isConscious()
Thoughts can be conscious or sub-conscious.
|
boolean |
isCritical()
Return if this thought must run even under stress.
|
boolean |
isStopped() |
void |
migrateProperties()
Migrate to new properties system.
|
void |
pool()
Reset state when instance is pooled.
|
void |
saveProperties() |
void |
setBot(Bot Bot)
Set the associated Bot instance.
|
void |
setName(java.lang.String name)
Set the name that identifies the thought.
|
void |
stop()
Stop analyzing network.
|
void |
think()
Analyze and extend the network.
|
java.lang.String getName()
void setName(java.lang.String name)
void stop()
boolean isStopped()
void pool()
void think()
void awake()
Primitive getPrimitive()
Bot getBot()
void setBot(Bot Bot)
void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
boolean isConscious()
boolean isCritical()
void saveProperties()
void migrateProperties()