Package net.sourceforge.pmd.cpd
Class CPDCommandLineInterface
- java.lang.Object
-
- net.sourceforge.pmd.cpd.CPDCommandLineInterface
-
@Deprecated @InternalApi public final class CPDCommandLineInterface extends Object
Deprecated.Internal API. UseCPD.runCpd(String...)orCPD.main(String[])in order to execute CPD.
-
-
Field Summary
Fields Modifier and Type Field Description static StringNO_EXIT_AFTER_RUNDeprecated.This is used for testing, but support for it will be removed in PMD 7.static StringSTATUS_CODE_PROPERTYDeprecated.This is used for testing, but support for it will be removed in PMD 7.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidaddSourceFilesToCPD(CPD cpd, CPDConfiguration arguments)Deprecated.static StringbuildUsageText()Deprecated.static voidmain(String[] args)Deprecated.static voidsetStatusCodeOrExit(int status)Deprecated.
-
-
-
Field Detail
-
NO_EXIT_AFTER_RUN
@Deprecated public static final String NO_EXIT_AFTER_RUN
Deprecated.This is used for testing, but support for it will be removed in PMD 7. UseCPD.runCpd(String...)to avoid exiting the VM. In PMD 7,CPD.main(String[])will callSystem.exit(int)always.- See Also:
- Constant Field Values
-
STATUS_CODE_PROPERTY
@Deprecated public static final String STATUS_CODE_PROPERTY
Deprecated.This is used for testing, but support for it will be removed in PMD 7. UseCPD.runCpd(String...)to avoid exiting the VM. In PMD 7,CPD.main(String[])will callSystem.exit(int)always.- See Also:
- Constant Field Values
-
-
Method Detail
-
setStatusCodeOrExit
@Deprecated public static void setStatusCodeOrExit(int status)
Deprecated.
-
main
@Deprecated public static void main(String[] args)
Deprecated.
-
addSourceFilesToCPD
public static void addSourceFilesToCPD(CPD cpd, CPDConfiguration arguments)
Deprecated.
-
buildUsageText
@Deprecated @InternalApi public static String buildUsageText()
Deprecated.
-
-