org.retro.gis.tools
Interface ActionTree

All Known Implementing Classes:
BasicActionTree

public interface ActionTree

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.

See Also:
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

addNode

public void addNode(ActionTreeNode node)
             throws KeyNotSetException
Add a node to the hash-map, the key should based on a scheme phrase, the key is set internally by the Action Node.

Throws:
KeyNotSetException

runActionSet

public void runActionSet()
An iterative approach for hitting each action node


runActionSetList

public void runActionSetList()

getMap

public java.util.Map getMap()
get the internal hashmap for processing


getArrayList

public java.util.ArrayList getArrayList()

setProcessThread

public void setProcessThread(BotProcessThread _process)
                      throws java.lang.Exception
Object to talk to higher-level objects.

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.

Throws:
java.lang.Exception
See Also:
BasicActionNode, ActionTreeNode

setProcessThreadAuto

public void setProcessThreadAuto(BotProcessThread _process)
                          throws java.lang.Exception
Throws:
java.lang.Exception