com.taobao.metamorphosis.tools.shell
类 ShellTool

java.lang.Object
  继承者 com.taobao.metamorphosis.tools.shell.ShellTool
直接已知子类:
BrokerStatsTool, ClosePartitionsTool, CopyOffsetInZk, DeletePartitionFiles, MovePartitionFiles, OpenPartitionsTool, ReloadConfig, SlaveResubscribe, SlaveStatus, StopBrokerTool, TimetunnelPluginTool

public abstract class ShellTool
extends Object

代表各种小工具

从以下版本开始:
2011-8-23 下午3:44:25
作者:
无花

字段摘要
protected static String METACONFIG_NAME
           
protected  PrintWriter out
           
 
构造方法摘要
ShellTool(PrintStream out)
           
ShellTool(PrintWriter out)
           
 
方法摘要
abstract  void doMain(String[] args)
          主功能入口
protected  void println(String x)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

out

protected PrintWriter out

METACONFIG_NAME

protected static final String METACONFIG_NAME
另请参见:
常量字段值
构造方法详细信息

ShellTool

public ShellTool(PrintWriter out)

ShellTool

public ShellTool(PrintStream out)
方法详细信息

doMain

public abstract void doMain(String[] args)
                     throws Exception
主功能入口

抛出:
Exception

println

protected void println(String x)


Copyright © 2010–2013. All rights reserved.