org.apache.maven.cli
Class CLIReportingUtils

java.lang.Object
  extended by org.apache.maven.cli.CLIReportingUtils

public final class CLIReportingUtils
extends Object

Utility class used to report errors, statistics, application version info, etc.

Author:
jdcasey

Field Summary
static long MB
           
static int MS_PER_SEC
           
static int SEC_PER_MIN
           
 
Constructor Summary
CLIReportingUtils()
           
 
Method Summary
static void showError(Logger logger, String message, Throwable e, boolean showStackTrace)
           
static void showVersion(PrintStream stdout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MB

public static final long MB
See Also:
Constant Field Values

MS_PER_SEC

public static final int MS_PER_SEC
See Also:
Constant Field Values

SEC_PER_MIN

public static final int SEC_PER_MIN
See Also:
Constant Field Values
Constructor Detail

CLIReportingUtils

public CLIReportingUtils()
Method Detail

showVersion

public static void showVersion(PrintStream stdout)

showError

public static void showError(Logger logger,
                             String message,
                             Throwable e,
                             boolean showStackTrace)


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.