com.metamatrix.core.commandshell
Class CommandTarget

java.lang.Object
  extended by com.metamatrix.core.commandshell.CommandTarget
Direct Known Subclasses:
ScriptCommandTarget

public class CommandTarget
extends java.lang.Object

Base class for command-line targets used by the CommandShell class. This class should be extended with custom commands for each command-line tool.


Field Summary
protected  CommandShell shell
           
 
Constructor Summary
CommandTarget()
           
 
Method Summary
 void exit()
           
protected  java.util.Set getMethodsToIgnore()
           
protected  CommandShell getShell()
           
 java.lang.String help()
           
 void quit()
           
protected  void runningScript(java.lang.String fileName)
           
protected  void setShell(CommandShell shell)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shell

protected CommandShell shell
Constructor Detail

CommandTarget

public CommandTarget()
Method Detail

setShell

protected void setShell(CommandShell shell)

getShell

protected CommandShell getShell()

help

public java.lang.String help()

quit

public void quit()

exit

public void exit()

runningScript

protected void runningScript(java.lang.String fileName)

getMethodsToIgnore

protected java.util.Set getMethodsToIgnore()


Copyright © 2009. All Rights Reserved.