org.apache.qpid.tools.messagestore.commands
Class Dump
java.lang.Object
org.apache.qpid.tools.messagestore.commands.AbstractCommand
org.apache.qpid.tools.messagestore.commands.Show
org.apache.qpid.tools.messagestore.commands.Dump
- All Implemented Interfaces:
- Command
public class Dump
- extends Show
Nested classes/interfaces inherited from class org.apache.qpid.tools.messagestore.commands.Show |
Show.Columns |
Field Summary |
protected boolean |
_content
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_content
protected boolean _content
Dump
public Dump(MessageStoreTool tool)
help
public String help()
- Specified by:
help
in interface Command
- Overrides:
help
in class Show
usage
public String usage()
- Specified by:
usage
in interface Command
- Overrides:
usage
in class Show
getCommand
public String getCommand()
- Specified by:
getCommand
in interface Command
- Overrides:
getCommand
in class Show
execute
public void execute(String... args)
- Specified by:
execute
in interface Command
- Overrides:
execute
in class Show
createMessageData
protected List<List> createMessageData(List<Long> msgids,
List<QueueEntry> messages,
boolean showHeaders,
boolean showRouting,
boolean showMessageHeaders)
- Description copied from class:
Show
- Create the list data for display from the messages.
- Overrides:
createMessageData
in class Show
- Parameters:
msgids
- The list of message ids to displaymessages
- A list of messages to format and display.showHeaders
- should the header info be shownshowRouting
- show the routing info be shownshowMessageHeaders
- show the msg headers be shown
- Returns:
- the formated data lists for printing
Licensed to the Apache Software Foundation