org.apache.qpid.tools.messagestore.commands
Class Copy

java.lang.Object
  extended by org.apache.qpid.tools.messagestore.commands.AbstractCommand
      extended by org.apache.qpid.tools.messagestore.commands.Move
          extended by org.apache.qpid.tools.messagestore.commands.Copy
All Implemented Interfaces:
Command

public class Copy
extends Move


Field Summary
 
Fields inherited from class org.apache.qpid.tools.messagestore.commands.AbstractCommand
_console, _tool
 
Constructor Summary
Copy(MessageStoreTool tool)
           
 
Method Summary
protected  void doCommand(AMQQueue fromQueue, long start, long end, AMQQueue toQueue)
           
 String getCommand()
           
 String help()
           
 String usage()
           
 
Methods inherited from class org.apache.qpid.tools.messagestore.commands.Move
checkRequirements, execute
 
Methods inherited from class org.apache.qpid.tools.messagestore.commands.AbstractCommand
commandError, setOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Copy

public Copy(MessageStoreTool tool)
Method Detail

help

public String help()
Specified by:
help in interface Command
Overrides:
help in class Move

usage

public String usage()
Specified by:
usage in interface Command
Overrides:
usage in class Move

getCommand

public String getCommand()
Specified by:
getCommand in interface Command
Overrides:
getCommand in class Move

doCommand

protected void doCommand(AMQQueue fromQueue,
                         long start,
                         long end,
                         AMQQueue toQueue)
Overrides:
doCommand in class Move


Licensed to the Apache Software Foundation