View Javadoc

1   package net.sf.mavenhist.extractor.checkstyle;
2   
3   /**
4    * Extracts the number of all checkstyle errors.
5    */
6   public class CheckstyleErrorExtractor extends AbstractCheckstyleViolationExtractor {
7   
8     /**
9      * Severity level to get all checkstyle errors.
10     * @return Severity level to get all checkstyle errors.
11     */
12    protected String getSeverity() {
13      return "error";
14    }
15    
16    /**
17     * {@inheritDoc}
18     */
19    public String getName() {
20      return "cserrors";
21    }
22  }