|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ActionTree is an interface for a list of different actions, it contains a set of ActionNodes, a hash key is used to retrieve a single action node.
ActionTreeNode,
BasicActionNode| Method Summary | |
void |
addNode(ActionTreeNode node)
Add a node to the hash-map, the key should based on a scheme phrase, the key is set internally by the Action Node. |
java.util.ArrayList |
getArrayList()
|
java.util.Map |
getMap()
get the internal hashmap for processing |
void |
runActionSet()
An iterative approach for hitting each action node |
void |
runActionSetList()
|
void |
setProcessThread(BotProcessThread _process)
Object to talk to higher-level objects. |
void |
setProcessThreadAuto(BotProcessThread _process)
|
| Method Detail |
public void addNode(ActionTreeNode node)
throws KeyNotSetException
KeyNotSetExceptionpublic void runActionSet()
public void runActionSetList()
public java.util.Map getMap()
public java.util.ArrayList getArrayList()
public void setProcessThread(BotProcessThread _process)
throws java.lang.Exception
Note, it was intentional not to include a public method similar to this method for the ActionTreeNode, the TreeNode will use protected methods.
Use setProcssThreadAuto to set the process-handler to lower objects in the tree.
java.lang.ExceptionBasicActionNode,
ActionTreeNode
public void setProcessThreadAuto(BotProcessThread _process)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||