org.impalaframework.interactive.command
Class ChangeDirectoryCommand

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

public class ChangeDirectoryCommand
extends java.lang.Object
implements org.impalaframework.command.framework.TextParsingCommand


Field Summary
(package private) static java.lang.String DIRECTORY_NAME
           
 
Constructor Summary
ChangeDirectoryCommand()
           
ChangeDirectoryCommand(org.impalaframework.resolver.ModuleLocationResolver moduleLocationResolver)
           
 
Method Summary
 boolean execute(org.impalaframework.command.framework.CommandState commandState)
           
 void extractText(java.lang.String[] text, org.impalaframework.command.framework.CommandState commandState)
           
 org.impalaframework.command.framework.CommandDefinition getCommandDefinition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTORY_NAME

static final java.lang.String DIRECTORY_NAME
Constructor Detail

ChangeDirectoryCommand

public ChangeDirectoryCommand()

ChangeDirectoryCommand

public ChangeDirectoryCommand(org.impalaframework.resolver.ModuleLocationResolver moduleLocationResolver)
Method Detail

execute

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

getCommandDefinition

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

extractText

public void extractText(java.lang.String[] text,
                        org.impalaframework.command.framework.CommandState commandState)
Specified by:
extractText in interface org.impalaframework.command.framework.TextParsingCommand