org.impalaframework.interactive.command
Class InteractiveTestCommand

java.lang.Object
  extended by org.impalaframework.interactive.command.InteractiveTestCommand
All Implemented Interfaces:
org.impalaframework.command.framework.Command

public class InteractiveTestCommand
extends java.lang.Object
implements org.impalaframework.command.framework.Command


Constructor Summary
InteractiveTestCommand()
           
 
Method Summary
 void addAlias(java.lang.String name, java.lang.String alias)
           
 void addCommand(java.lang.String name, org.impalaframework.command.framework.Command command)
           
 void addTestListener(TestCommandListener listener)
           
 boolean execute(org.impalaframework.command.framework.CommandState commandState)
           
 org.impalaframework.command.framework.CommandDefinition getCommandDefinition()
           
 void setAliasMap(java.util.Map<java.lang.String,java.lang.String> aliasMap)
           
 void setCommandMap(java.util.Map<java.lang.String,org.impalaframework.command.framework.Command> commandMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveTestCommand

public InteractiveTestCommand()
Method Detail

execute

public boolean execute(org.impalaframework.command.framework.CommandState commandState)
Specified by:
execute in interface org.impalaframework.command.framework.Command

addCommand

public void addCommand(java.lang.String name,
                       org.impalaframework.command.framework.Command command)

setCommandMap

public void setCommandMap(java.util.Map<java.lang.String,org.impalaframework.command.framework.Command> commandMap)

addAlias

public void addAlias(java.lang.String name,
                     java.lang.String alias)

setAliasMap

public void setAliasMap(java.util.Map<java.lang.String,java.lang.String> aliasMap)

addTestListener

public void addTestListener(TestCommandListener listener)

getCommandDefinition

public org.impalaframework.command.framework.CommandDefinition getCommandDefinition()
Specified by:
getCommandDefinition in interface org.impalaframework.command.framework.Command