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 String BUILD_VERSION_PROPERTY
           
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 String showVersion()
           
 
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

BUILD_VERSION_PROPERTY

public static final String BUILD_VERSION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

CLIReportingUtils

public CLIReportingUtils()
Method Detail

showVersion

public static String showVersion()

showError

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


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.