net.sourceforge.pmd.cli
Class PMDCommandLineInterface

java.lang.Object
  extended by net.sourceforge.pmd.cli.PMDCommandLineInterface

public class PMDCommandLineInterface
extends Object

Author:
Romain Pelisse

Field Summary
static int ERROR_STATUS
           
static String NO_EXIT_AFTER_RUN
           
static String PROG_NAME
           
static String STATUS_CODE_PROPERTY
           
static int VIOLATIONS_FOUND
           
 
Constructor Summary
PMDCommandLineInterface()
           
 
Method Summary
static String buildUsageText()
           
static String buildUsageText(com.beust.jcommander.JCommander jcommander)
           
static PMDParameters extractParameters(PMDParameters arguments, String[] args, String progName)
           
static String jarName()
           
static void main(String[] args)
          For testing purpose only...
static void run(String[] args)
           
static void setStatusCodeOrExit(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROG_NAME

public static final String PROG_NAME
See Also:
Constant Field Values

NO_EXIT_AFTER_RUN

public static final String NO_EXIT_AFTER_RUN
See Also:
Constant Field Values

STATUS_CODE_PROPERTY

public static final String STATUS_CODE_PROPERTY
See Also:
Constant Field Values

ERROR_STATUS

public static final int ERROR_STATUS
See Also:
Constant Field Values

VIOLATIONS_FOUND

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

PMDCommandLineInterface

public PMDCommandLineInterface()
Method Detail

extractParameters

public static PMDParameters extractParameters(PMDParameters arguments,
                                              String[] args,
                                              String progName)

buildUsageText

public static String buildUsageText()

buildUsageText

public static String buildUsageText(com.beust.jcommander.JCommander jcommander)

main

public static void main(String[] args)
For testing purpose only...

Parameters:
args -

jarName

public static String jarName()

run

public static void run(String[] args)

setStatusCodeOrExit

public static void setStatusCodeOrExit(int status)


Copyright © 2002-2015 InfoEther. All Rights Reserved.