com.agentfactory.platform
Class APScriptHandler
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APScriptHandler
public APScriptHandler(Scanner scanner)
- Construct a APScriptHandler
APScriptHandler
public APScriptHandler(java.io.InputStream in)
processScript
public boolean processScript()
startAgent
public void startAgent(java.util.List list)