Klasse CpdExecutor
java.lang.Object
org.apache.maven.plugins.pmd.exec.CpdExecutor
Executes CPD with the configuration provided via
CpdRequest
.-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected static String
static net.sourceforge.pmd.cpd.CPDReportRenderer
createRenderer
(String format, String outputEncoding) Create and return the correct renderer for the output type.static CpdResult
execute
(CpdRequest request) static void
Execute CPD analysis from CLI.protected void
setupLogLevel
(String logLevel)
-
Konstruktordetails
-
CpdExecutor
-
-
Methodendetails
-
execute
public static CpdResult execute(CpdRequest request) throws org.apache.maven.reporting.MavenReportException - Löst aus:
org.apache.maven.reporting.MavenReportException
-
main
Execute CPD analysis from CLI.Single arg with the filename to the serialized
CpdRequest
.Exit-code: 0 = success, 1 = failure in executing
- Parameter:
args
-
-
createRenderer
public static net.sourceforge.pmd.cpd.CPDReportRenderer createRenderer(String format, String outputEncoding) throws org.apache.maven.reporting.MavenReportException Create and return the correct renderer for the output type.- Gibt zurück:
- the renderer based on the configured output
- Löst aus:
org.apache.maven.reporting.MavenReportException
- if no renderer found for the output type
-
setupLogLevel
-
buildClasspath
-