com.agentfactory.platform
Class APScriptHandler

java.lang.Object
  extended by com.agentfactory.platform.APScriptHandler

public class APScriptHandler
extends java.lang.Object

The APScriptHandler class is responsible for taking input directly from an interactive console, processing the commands, and sending the result back to the console. Platform Scripts are used to automatically run commands on the AgentFactory Platform. This class provides an interperter for these scripts. Instructions from the command line can cause commands to be cached, these commands once cached, will be completely processed before another command can be taken directly from the input stream.


Constructor Summary
APScriptHandler(java.io.InputStream in)
           
APScriptHandler(Scanner scanner)
          Construct a APScriptHandler
 
Method Summary
 boolean processScript()
           
 void startAgent(java.util.List list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APScriptHandler

public APScriptHandler(Scanner scanner)
Construct a APScriptHandler


APScriptHandler

public APScriptHandler(java.io.InputStream in)
Method Detail

processScript

public boolean processScript()

startAgent

public void startAgent(java.util.List list)