org.aitools.programd.configurations
Class SimpleConsole

java.lang.Object
  extended by org.aitools.programd.configurations.SimpleConsole

public class SimpleConsole
extends java.lang.Object

A SimpleConsole gives you a running Core with a regular Console and just a basic Shell attached (if you enable it). Input, output and error are routed via standard system objects.

Since:
4.5
Author:
Noel Bush

Field Summary
private  Console console
          The console.
private  Core core
          The Core to which this console will be attached.
 
Constructor Summary
private SimpleConsole(java.lang.String corePropertiesPath)
           
 
Method Summary
static void main(java.lang.String[] argv)
          Starts up the SimpleConsole configuration.
 void run()
          Starts the shell (if enabled) and sends the connect string.
private static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

core

private Core core
The Core to which this console will be attached.


console

private Console console
The console.

Constructor Detail

SimpleConsole

private SimpleConsole(java.lang.String corePropertiesPath)
               throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

run

public void run()
Starts the shell (if enabled) and sends the connect string.


usage

private static void usage()

main

public static void main(java.lang.String[] argv)
Starts up the SimpleConsole configuration. Required arguments are:

Parameters:
argv -