Home » activemq-parent-5.3.1-source-release » org.apache » activemq » console » [javadoc | source]
public final class: CommandContext [javadoc | source]
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Method from org.apache.activemq.console.CommandContext Summary:
getFormatter,   getOutputStream,   print,   print,   print,   print,   printException,   printHelp,   printInfo,   printMBean,   printMBean,   printMBean,   printMBean,   printMBean,   printMessage,   printMessage,   printMessage,   printVersion,   setFormatter
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.console.CommandContext Detail:
 public OutputFormatter getFormatter() 
 public OutputStream getOutputStream() 
    Retrieve the output stream being used by the global formatter
 public  void print(Map map) 
    Print a generic key value mapping
 public  void print(String[] strings) 
    Print a generic array of strings
 public  void print(Collection collection) 
    Print a collection of objects
 public  void print(String string) 
    Print a java string
 public  void printException(Exception e) 
    Print an exception message
 public  void printHelp(String[] helpMsgs) 
    Print help messages
 public  void printInfo(String info) 
    Print an information message
 public  void printMBean(ObjectInstance mbean) 
    Print an ObjectInstance format of an mbean
 public  void printMBean(ObjectName mbean) 
    Print an ObjectName format of an mbean
 public  void printMBean(AttributeList mbean) 
    Print an AttributeList format of an mbean
 public  void printMBean(Map mbean) 
    Print a Map format of an mbean
 public  void printMBean(Collection mbean) 
    Print a Collection format of mbeans
 public  void printMessage(Map msg) 
    Print a Map format of a JMS message
 public  void printMessage(Message msg) 
    Print a Message format of a JMS message
 public  void printMessage(Collection msg) 
    Print a collection of JMS messages
 public  void printVersion(String version) 
    Print a version information
 public  void setFormatter(OutputFormatter formatter)