Modified: maven/website/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html ============================================================================== --- maven/website/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html (original) +++ maven/website/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html Thu Apr 11 18:18:13 2019 @@ -2,38 +2,24 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>AbstractPmdViolationCheckMojo (Apache Maven PMD Plugin 3.11.0 API)</title> +<title>AbstractPmdViolationCheckMojo (Apache Maven PMD Plugin 3.12.0 API)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> -<script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- - try { - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="AbstractPmdViolationCheckMojo (Apache Maven PMD Plugin 3.11.0 API)"; - } - } - catch(err) { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="AbstractPmdViolationCheckMojo (Apache Maven PMD Plugin 3.12.0 API)"; } //--> -var methods = {"i0":10,"i1":6,"i2":10,"i3":6,"i4":10,"i5":6,"i6":6,"i7":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar.top"> +<div class="topNav"><a name="navbar_top"> <!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.top.firstrow"> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -49,15 +35,15 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/maven/plugins/pmd/CpdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/maven/plugins/pmd/CpdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" target="_top">Frames</a></li> -<li><a href="AbstractPmdViolationCheckMojo.html" target="_top">No Frames</a></li> +<li><a href="AbstractPmdViolationCheckMojo.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -75,18 +61,18 @@ var activeTableTab = "activeTableTab"; <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> -<li><a href="#field.summary">Field</a> | </li> -<li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#method.summary">Method</a></li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> -<li><a href="#field.detail">Field</a> | </li> -<li><a href="#constructor.detail">Constr</a> | </li> -<li><a href="#method.detail">Method</a></li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> </ul> </div> -<a name="skip.navbar.top"> +<a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> @@ -97,10 +83,10 @@ var activeTableTab = "activeTableTab"; </div> <div class="contentContainer"> <ul class="inheritance"> -<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> <li> <ul class="inheritance"> -<li><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">org.apache.maven.plugin.AbstractMojo</a></li> +<li><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">org.apache.maven.plugin.AbstractMojo</a></li> <li> <ul class="inheritance"> <li>org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo<D></li> @@ -112,14 +98,11 @@ var activeTableTab = "activeTableTab"; <div class="description"> <ul class="blockList"> <li class="blockList"> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>D</code> - type of the check, e.g. <a href="../../../../../org/apache/maven/plugins/pmd/model/Violation.html" title="class in org.apache.maven.plugins.pmd.model"><code>Violation</code></a> - or <a href="../../../../../org/apache/maven/plugins/pmd/model/Duplication.html" title="class in org.apache.maven.plugins.pmd.model"><code>Duplication</code></a>.</dd> -</dl> +<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>D</code> - type of the check, e.g. <a href="../../../../../org/apache/maven/plugins/pmd/model/Violation.html" title="class in org.apache.maven.plugins.pmd.model"><code>Violation</code></a> + or <a href="../../../../../org/apache/maven/plugins/pmd/model/Duplication.html" title="class in org.apache.maven.plugins.pmd.model"><code>Duplication</code></a>.</dd></dl> <dl> <dt>All Implemented Interfaces:</dt> -<dd><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/ContextEnabled.html?is-external=true" title="class or interface in org.apache.maven.plugin">ContextEnabled</a>, <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></dd> +<dd><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/ContextEnabled.html?is-external=true" title="class or interface in org.apache.maven.plugin">ContextEnabled</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></dd> </dl> <dl> <dt>Direct Known Subclasses:</dt> @@ -127,15 +110,13 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public abstract class <span class="typeNameLabel">AbstractPmdViolationCheckMojo<D></span> -extends <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">AbstractMojo</a></pre> +<pre>public abstract class <span class="strong">AbstractPmdViolationCheckMojo<D></span> +extends <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">AbstractMojo</a></pre> <div class="block">Base class for mojos that check if there were any PMD violations.</div> -<dl> -<dt><span class="simpleTagLabel">Version:</span></dt> -<dd>$Id$</dd> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd><a href="mailto:br...@apache.org">Brett Porter</a></dd> -</dl> +<dl><dt><span class="strong">Version:</span></dt> + <dd>$Id$</dd> +<dt><span class="strong">Author:</span></dt> + <dd><a href="mailto:br...@apache.org">Brett Porter</a></dd></dl> </li> </ul> </div> @@ -144,11 +125,11 @@ extends <a href="http://maven.apache.org <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> -<li class="blockList"><a name="field.summary"> +<li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> @@ -156,39 +137,39 @@ extends <a href="http://maven.apache.org </tr> <tr class="altColor"> <td class="colFirst"><code>protected boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#aggregate">aggregate</a></span></code> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#aggregate">aggregate</a></strong></code> <div class="block">Whether to build an aggregated report at the root, or build individual reports.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#failOnViolation">failOnViolation</a></span></code> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#failOnViolation">failOnViolation</a></strong></code> <div class="block">Whether to fail the build if the validation check fails.</div> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>protected <a href="http://maven.apache.org/maven-compat/apidocs/org/apache/maven/project/MavenProject.html?is-external=true" title="class or interface in org.apache.maven.project">MavenProject</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#project">project</a></span></code> +<td class="colFirst"><code>protected <a href="http://maven.apache.org/ref/3.6.0/maven-compat/apidocs/org/apache/maven/project/MavenProject.html?is-external=true" title="class or interface in org.apache.maven.project">MavenProject</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#project">project</a></strong></code> <div class="block">The project to analyze.</div> </td> </tr> </table> <ul class="blockList"> -<li class="blockList"><a name="fields.inherited.from.class.org.apache.maven.plugin.Mojo"> +<li class="blockList"><a name="fields_inherited_from_class_org.apache.maven.plugin.Mojo"> <!-- --> </a> -<h3>Fields inherited from interface org.apache.maven.plugin.<a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></h3> -<code><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true#ROLE" title="class or interface in org.apache.maven.plugin">ROLE</a></code></li> +<h3>Fields inherited from interface org.apache.maven.plugin.<a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></h3> +<code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true#ROLE" title="class or interface in org.apache.maven.plugin">ROLE</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> -<li class="blockList"><a name="constructor.summary"> +<li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier</th> @@ -196,7 +177,7 @@ extends <a href="http://maven.apache.org </tr> <tr class="altColor"> <td class="colFirst"><code>protected </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#AbstractPmdViolationCheckMojo-org.apache.maven.plugins.pmd.ExcludeFromFile-">AbstractPmdViolationCheckMojo</a></span>(<a href="../../../../../org/apache/maven/plugins/pmd/ExcludeFromFile.html" title="interface in org.apache.maven.plugins.pmd">ExcludeFromFile</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> excludeFromFile)</code> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#AbstractPmdViolationCheckMojo(org.apache.maven.plugins.pmd.ExcludeFromFile)">AbstractPmdViolationCheckMojo</a></strong>(<a href="../../../../../org/apache/maven/plugins/pmd/ExcludeFromFile.html" title="interface in org.apache.maven.plugins.pmd">ExcludeFromFile</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> excludeFromFile)</code> <div class="block">Initialize this abstact check mojo by giving the correct ExcludeFromFile helper.</div> </td> </tr> @@ -205,80 +186,80 @@ extends <a href="http://maven.apache.org </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> -<li class="blockList"><a name="method.summary"> +<li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> -<tr id="i0" class="altColor"> +<tr class="altColor"> <td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#executeCheck-java.lang.String-java.lang.String-java.lang.String-int-">executeCheck</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filename, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tagName, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#executeCheck(java.lang.String,%20java.lang.String,%20java.lang.String,%20int)">executeCheck</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filename, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tagName, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, int failurePriority)</code> </td> </tr> -<tr id="i1" class="rowColor"> -<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#getErrorDetails-java.io.File-">getErrorDetails</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> analysisFile)</code> +<tr class="rowColor"> +<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#getErrorDetails(java.io.File)">getErrorDetails</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> analysisFile)</code> <div class="block">Gets the attributes and text for the violation tag and puts them in a HashMap</div> </td> </tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#getMaxAllowedViolations--">getMaxAllowedViolations</a></span>()</code> </td> +<tr class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#getMaxAllowedViolations()">getMaxAllowedViolations</a></strong>()</code> </td> </tr> -<tr id="i3" class="rowColor"> +<tr class="rowColor"> <td class="colFirst"><code>protected abstract int</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#getPriority-D-">getPriority</a></span>(<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a> errorDetail)</code> </td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#getPriority(D)">getPriority</a></strong>(<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a> errorDetail)</code> </td> </tr> -<tr id="i4" class="altColor"> +<tr class="altColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#isFailOnViolation--">isFailOnViolation</a></span>()</code> </td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#isFailOnViolation()">isFailOnViolation</a></strong>()</code> </td> </tr> -<tr id="i5" class="rowColor"> +<tr class="rowColor"> <td class="colFirst"><code>protected abstract <a href="../../../../../org/apache/maven/plugins/pmd/ViolationDetails.html" title="class in org.apache.maven.plugins.pmd">ViolationDetails</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#newViolationDetailsInstance--">newViolationDetailsInstance</a></span>()</code> </td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#newViolationDetailsInstance()">newViolationDetailsInstance</a></strong>()</code> </td> </tr> -<tr id="i6" class="altColor"> +<tr class="altColor"> <td class="colFirst"><code>protected abstract void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#printError-D-java.lang.String-">printError</a></span>(<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a> item, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> severity)</code> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#printError(D,%20java.lang.String)">printError</a></strong>(<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a> item, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> severity)</code> <div class="block">Formats the failure details and prints them as an INFO message</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr class="rowColor"> <td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#printErrors-java.util.List-java.util.List-">printErrors</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> failures, - <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> warnings)</code> +<td class="colLast"><code><strong><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html#printErrors(java.util.List,%20java.util.List)">printErrors</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> failures, + <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> warnings)</code> <div class="block">Prints the warnings and failures</div> </td> </tr> </table> <ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugin.AbstractMojo"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.maven.plugin.AbstractMojo"> <!-- --> </a> -<h3>Methods inherited from class org.apache.maven.plugin.<a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">AbstractMojo</a></h3> -<code><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#getLog--" title="class or interface in org.apache.maven.plugin">getLog</a>, <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#getPluginContext--" title="class or interface in org.apache.maven.plugin">getPluginContext</a>, <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#setLog-org.apache.maven.plugin.logging.Log-" title="class or interface in org.apache.maven.plugin">setLog</a>, <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#setPluginContext-java.util.Map-" title="class or interface in org.apache.maven.plugin">setPluginContext</a></code></li> +<h3>Methods inherited from class org.apache.maven.plugin.<a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">AbstractMojo</a></h3> +<code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#getLog()" title="class or interface in org.apache.maven.plugin">getLog</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#getPluginContext()" title="class or interface in org.apache.maven.plugin">getPluginContext</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#setLog(org.apache.maven.plugin.logging.Log)" title="class or interface in org.apache.maven.plugin">setLog</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#setPluginContext(java.util.Map)" title="class or interface in org.apache.maven.plugin">setPluginContext</a></code></li> </ul> <ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/ja va/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> </ul> <ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugin.Mojo"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.maven.plugin.Mojo"> <!-- --> </a> -<h3>Methods inherited from interface org.apache.maven.plugin.<a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></h3> -<code><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true#execute--" title="class or interface in org.apache.maven.plugin">execute</a></code></li> +<h3>Methods inherited from interface org.apache.maven.plugin.<a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></h3> +<code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true#execute()" title="class or interface in org.apache.maven.plugin">execute</a></code></li> </ul> </li> </ul> @@ -290,7 +271,7 @@ extends <a href="http://maven.apache.org <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> -<li class="blockList"><a name="field.detail"> +<li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> @@ -300,11 +281,13 @@ extends <a href="http://maven.apache.org <ul class="blockList"> <li class="blockList"> <h4>failOnViolation</h4> -<pre><a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Parameter</a>(<a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#property--" title="class or interface in org.apache.maven.plugins.annotations">property</a>="pmd.failOnViolation", - <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#defaultValue--" title="class or interface in org.apache.maven.plugins.annotations">defaultValue</a>="true", - <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#required--" title="class or interface in org.apache.maven.plugins.annotations">required</a>=true) +<pre><a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Parameter</a>(<a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#property()" title="class or interface in org.apache.maven.plugins.annotations">property</a>="pmd.failOnViolation", + <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#defaultValue()" title="class or interface in org.apache.maven.plugins.annotations">defaultValue</a>="true", + <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#required()" title="class or interface in org.apache.maven.plugins.annotations">required</a>=true) protected boolean failOnViolation</pre> -<div class="block">Whether to fail the build if the validation check fails.</div> +<div class="block">Whether to fail the build if the validation check fails. + The properties <code>failurePriority</code> and <code>maxAllowedViolations</code> control + under which conditions exactly the build should be failed.</div> </li> </ul> <a name="aggregate"> @@ -313,14 +296,12 @@ protected boolean failOnViolation</ <ul class="blockList"> <li class="blockList"> <h4>aggregate</h4> -<pre><a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Parameter</a>(<a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#property--" title="class or interface in org.apache.maven.plugins.annotations">property</a>="aggregate", - <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#defaultValue--" title="class or interface in org.apache.maven.plugins.annotations">defaultValue</a>="false") +<pre><a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Parameter</a>(<a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#property()" title="class or interface in org.apache.maven.plugins.annotations">property</a>="aggregate", + <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#defaultValue()" title="class or interface in org.apache.maven.plugins.annotations">defaultValue</a>="false") protected boolean aggregate</pre> <div class="block">Whether to build an aggregated report at the root, or build individual reports.</div> -<dl> -<dt><span class="simpleTagLabel">Since:</span></dt> -<dd>2.2</dd> -</dl> +<dl><dt><span class="strong">Since:</span></dt> + <dd>2.2</dd></dl> </li> </ul> <a name="project"> @@ -329,10 +310,10 @@ protected boolean aggregate</pre> <ul class="blockListLast"> <li class="blockList"> <h4>project</h4> -<pre><a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Parameter</a>(<a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#defaultValue--" title="class or interface in org.apache.maven.plugins.annotations">defaultValue</a>="${project}", - <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#readonly--" title="class or interface in org.apache.maven.plugins.annotations">readonly</a>=true, - <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#required--" title="class or interface in org.apache.maven.plugins.annotations">required</a>=true) -protected <a href="http://maven.apache.org/maven-compat/apidocs/org/apache/maven/project/MavenProject.html?is-external=true" title="class or interface in org.apache.maven.project">MavenProject</a> project</pre> +<pre><a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Parameter</a>(<a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#defaultValue()" title="class or interface in org.apache.maven.plugins.annotations">defaultValue</a>="${project}", + <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#readonly()" title="class or interface in org.apache.maven.plugins.annotations">readonly</a>=true, + <a href="http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#required()" title="class or interface in org.apache.maven.plugins.annotations">required</a>=true) +protected <a href="http://maven.apache.org/ref/3.6.0/maven-compat/apidocs/org/apache/maven/project/MavenProject.html?is-external=true" title="class or interface in org.apache.maven.project">MavenProject</a> project</pre> <div class="block">The project to analyze.</div> </li> </ul> @@ -340,11 +321,11 @@ protected <a href="http://maven.apa </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> -<li class="blockList"><a name="constructor.detail"> +<li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> -<a name="AbstractPmdViolationCheckMojo-org.apache.maven.plugins.pmd.ExcludeFromFile-"> +<a name="AbstractPmdViolationCheckMojo(org.apache.maven.plugins.pmd.ExcludeFromFile)"> <!-- --> </a> <ul class="blockListLast"> @@ -352,42 +333,37 @@ protected <a href="http://maven.apa <h4>AbstractPmdViolationCheckMojo</h4> <pre>protected AbstractPmdViolationCheckMojo(<a href="../../../../../org/apache/maven/plugins/pmd/ExcludeFromFile.html" title="interface in org.apache.maven.plugins.pmd">ExcludeFromFile</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> excludeFromFile)</pre> <div class="block">Initialize this abstact check mojo by giving the correct ExcludeFromFile helper.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>excludeFromFile</code> - the needed helper, for the specific violation type</dd> -</dl> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>excludeFromFile</code> - the needed helper, for the specific violation type</dd></dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> -<li class="blockList"><a name="method.detail"> +<li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> -<a name="executeCheck-java.lang.String-java.lang.String-java.lang.String-int-"> +<a name="executeCheck(java.lang.String, java.lang.String, java.lang.String, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>executeCheck</h4> -<pre>protected void executeCheck(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filename, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tagName, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, - int failurePriority) - throws <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoFailureException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoFailureException</a>, - <a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></pre> -<dl> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoFailureException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoFailureException</a></code></dd> -<dd><code><a href="http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></code></dd> -</dl> +<pre>protected void executeCheck(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filename, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tagName, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, + int failurePriority) + throws <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoFailureException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoFailureException</a>, + <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoFailureException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoFailureException</a></code></dd> +<dd><code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></code></dd></dl> </li> </ul> -<a name="getPriority-java.lang.Object-"> +<a name="getPriority(java.lang.Object)"> <!-- --> -</a><a name="getPriority-D-"> +</a><a name="getPriority(D)"> <!-- --> </a> <ul class="blockList"> @@ -396,7 +372,7 @@ protected <a href="http://maven.apa <pre>protected abstract int getPriority(<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a> errorDetail)</pre> </li> </ul> -<a name="newViolationDetailsInstance--"> +<a name="newViolationDetailsInstance()"> <!-- --> </a> <ul class="blockList"> @@ -405,64 +381,52 @@ protected <a href="http://maven.apa <pre>protected abstract <a href="../../../../../org/apache/maven/plugins/pmd/ViolationDetails.html" title="class in org.apache.maven.plugins.pmd">ViolationDetails</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> newViolationDetailsInstance()</pre> </li> </ul> -<a name="printErrors-java.util.List-java.util.List-"> +<a name="printErrors(java.util.List, java.util.List)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>printErrors</h4> -<pre>protected void printErrors(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> failures, - <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> warnings)</pre> +<pre>protected void printErrors(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> failures, + <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> warnings)</pre> <div class="block">Prints the warnings and failures</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>failures</code> - list of failures</dd> -<dd><code>warnings</code> - list of warnings</dd> -</dl> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>failures</code> - list of failures</dd><dd><code>warnings</code> - list of warnings</dd></dl> </li> </ul> -<a name="printError-java.lang.Object-java.lang.String-"> +<a name="printError(java.lang.Object,java.lang.String)"> <!-- --> -</a><a name="printError-D-java.lang.String-"> +</a><a name="printError(D, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>printError</h4> <pre>protected abstract void printError(<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a> item, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> severity)</pre> + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> severity)</pre> <div class="block">Formats the failure details and prints them as an INFO message</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>item</code> - either a <a href="../../../../../org/apache/maven/plugins/pmd/model/Violation.html" title="class in org.apache.maven.plugins.pmd.model"><code>Violation</code></a> from PMD - or a <a href="../../../../../org/apache/maven/plugins/pmd/model/Duplication.html" title="class in org.apache.maven.plugins.pmd.model"><code>Duplication</code></a> from CPD</dd> -<dd><code>severity</code> - the found issue is prefixed with the given severity, usually "Warning" or "Failure".</dd> -</dl> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>item</code> - either a <a href="../../../../../org/apache/maven/plugins/pmd/model/Violation.html" title="class in org.apache.maven.plugins.pmd.model"><code>Violation</code></a> from PMD + or a <a href="../../../../../org/apache/maven/plugins/pmd/model/Duplication.html" title="class in org.apache.maven.plugins.pmd.model"><code>Duplication</code></a> from CPD</dd><dd><code>severity</code> - the found issue is prefixed with the given severity, usually "Warning" or "Failure".</dd></dl> </li> </ul> -<a name="getErrorDetails-java.io.File-"> +<a name="getErrorDetails(java.io.File)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getErrorDetails</h4> -<pre>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> getErrorDetails(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> analysisFile) +<pre>protected abstract <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" title="type parameter in AbstractPmdViolationCheckMojo">D</a>> getErrorDetails(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> analysisFile) throws <a href="http://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/XmlPullParserException.html?is-external=true" title="class or interface in org.codehaus.plexus.util.xml.pull">XmlPullParserException</a>, - <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Gets the attributes and text for the violation tag and puts them in a HashMap</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>analysisFile</code> - the xml output from PMD or CPD</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>all PMD <a href="../../../../../org/apache/maven/plugins/pmd/model/Violation.html" title="class in org.apache.maven.plugins.pmd.model"><code>Violation</code></a>s +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>analysisFile</code> - the xml output from PMD or CPD</dd> +<dt><span class="strong">Returns:</span></dt><dd>all PMD <a href="../../../../../org/apache/maven/plugins/pmd/model/Violation.html" title="class in org.apache.maven.plugins.pmd.model"><code>Violation</code></a>s or CPD <a href="../../../../../org/apache/maven/plugins/pmd/model/Duplication.html" title="class in org.apache.maven.plugins.pmd.model"><code>Duplication</code></a>s.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> +<dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/XmlPullParserException.html?is-external=true" title="class or interface in org.codehaus.plexus.util.xml.pull">XmlPullParserException</a></code> - if the analysis file contains invalid XML</dd> -<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the analysis file could be read</dd> -</dl> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the analysis file could be read</dd></dl> </li> </ul> -<a name="isFailOnViolation--"> +<a name="isFailOnViolation()"> <!-- --> </a> <ul class="blockList"> @@ -471,13 +435,13 @@ protected <a href="http://maven.apa <pre>public boolean isFailOnViolation()</pre> </li> </ul> -<a name="getMaxAllowedViolations--"> +<a name="getMaxAllowedViolations()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getMaxAllowedViolations</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getMaxAllowedViolations()</pre> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getMaxAllowedViolations()</pre> </li> </ul> </li> @@ -488,11 +452,9 @@ protected <a href="http://maven.apa </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar.bottom"> +<div class="bottomNav"><a name="navbar_bottom"> <!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.bottom.firstrow"> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -508,15 +470,15 @@ protected <a href="http://maven.apa </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/maven/plugins/pmd/CpdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/maven/plugins/pmd/AbstractPmdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/maven/plugins/pmd/CpdReport.html" title="class in org.apache.maven.plugins.pmd"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/maven/plugins/pmd/AbstractPmdViolationCheckMojo.html" target="_top">Frames</a></li> -<li><a href="AbstractPmdViolationCheckMojo.html" target="_top">No Frames</a></li> +<li><a href="AbstractPmdViolationCheckMojo.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -534,21 +496,21 @@ protected <a href="http://maven.apa <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> -<li><a href="#field.summary">Field</a> | </li> -<li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#method.summary">Method</a></li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> -<li><a href="#field.detail">Field</a> | </li> -<li><a href="#constructor.detail">Constr</a> | </li> -<li><a href="#method.detail">Method</a></li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> </ul> </div> -<a name="skip.navbar.bottom"> +<a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2005–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2005–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> </body> </html> \ No newline at end of file