org.apache.qpid.tools.messagestore.commands
Class AbstractCommand
java.lang.Object
org.apache.qpid.tools.messagestore.commands.AbstractCommand
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- Clear, Help, List, Load, Move, Quit, Select, Show
public abstract class AbstractCommand
- extends Object
- implements Command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_console
protected Console _console
_tool
protected MessageStoreTool _tool
AbstractCommand
public AbstractCommand(MessageStoreTool tool)
setOutput
public void setOutput(Console out)
- Specified by:
setOutput
in interface Command
commandError
protected void commandError(String message,
String[] args)
help
public abstract String help()
- Specified by:
help
in interface Command
usage
public abstract String usage()
- Specified by:
usage
in interface Command
getCommand
public abstract String getCommand()
- Specified by:
getCommand
in interface Command
execute
public abstract void execute(String... args)
- Specified by:
execute
in interface Command
Licensed to the Apache Software Foundation