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

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

public class Move
extends AbstractCommand


Field Summary
 
Fields inherited from class org.apache.qpid.tools.messagestore.commands.AbstractCommand
_console, _tool
 
Constructor Summary
Move(MessageStoreTool tool)
           
 
Method Summary
protected  boolean checkRequirements(AMQQueue fromQueue, AMQQueue toQueue, List<Long> msgids)
           
protected  void doCommand(AMQQueue fromQueue, long start, long id, AMQQueue toQueue)
           
 void execute(String... args)
           
 String getCommand()
           
 String help()
           
 String usage()
           
 
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

Move

public Move(MessageStoreTool tool)
Method Detail

help

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

usage

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

getCommand

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

execute

public void execute(String... args)
Specified by:
execute in interface Command
Specified by:
execute in class AbstractCommand

checkRequirements

protected boolean checkRequirements(AMQQueue fromQueue,
                                    AMQQueue toQueue,
                                    List<Long> msgids)

doCommand

protected void doCommand(AMQQueue fromQueue,
                         long start,
                         long id,
                         AMQQueue toQueue)


Licensed to the Apache Software Foundation