jhomenet.test
Class StartTestConsole

java.lang.Object
  extended by jhomenet.test.StartTestConsole
All Implemented Interfaces:
SystemInterface

public class StartTestConsole
extends java.lang.Object
implements SystemInterface


Constructor Summary
StartTestConsole()
           
 
Method Summary
 void execute(java.lang.Object[] commandLine, SystemInputStream in, SystemPrintStream out, SystemPrintStream err, java.util.HashMap environment)
          Used to execute shell commands.
static StartTestConsole getInstance()
          Get a reference to the object.
 Shell getShell()
          Return a reference to the shell.
 java.lang.String getUptime()
          Get the system up time.
static void main(java.lang.String[] args)
          Application start point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartTestConsole

public StartTestConsole()
Method Detail

main

public static void main(java.lang.String[] args)
Application start point.

Parameters:
args - Command line arguments

getInstance

public static StartTestConsole getInstance()
Get a reference to the object.

Returns:
A reference to the object

execute

public void execute(java.lang.Object[] commandLine,
                    SystemInputStream in,
                    SystemPrintStream out,
                    SystemPrintStream err,
                    java.util.HashMap environment)
             throws java.lang.Exception
Used to execute shell commands.

Specified by:
execute in interface SystemInterface
Parameters:
commandLine -
in -
out -
err -
environment -
Throws:
java.lang.Exception

getShell

public Shell getShell()
Return a reference to the shell.

Specified by:
getShell in interface SystemInterface
Returns:
A reference to the shell

getUptime

public java.lang.String getUptime()
Get the system up time.

Specified by:
getUptime in interface SystemInterface
Returns:
System uptime in milliseconds


Copyright © 2004-2005 David Irwin. All Rights Reserved.