hudson.plugins.warnings.parser
Class JavacParser

java.lang.Object
  extended by hudson.plugins.warnings.parser.RegexpParser
      extended by hudson.plugins.warnings.parser.RegexpLineParser
          extended by hudson.plugins.warnings.parser.JavacParser
All Implemented Interfaces:
WarningsParser

public class JavacParser
extends RegexpLineParser

A parser for the javac compiler warnings.

Author:
Ulli Hafner

Field Summary
 
Fields inherited from class hudson.plugins.warnings.parser.RegexpParser
DEPRECATION, PROPRIETARY_API
 
Constructor Summary
JavacParser()
          Creates a new instance of JavacParser.
 
Method Summary
protected  Warning createWarning(java.util.regex.Matcher matcher)
          Creates a new annotation for the specified pattern.
 
Methods inherited from class hudson.plugins.warnings.parser.RegexpLineParser
parse
 
Methods inherited from class hudson.plugins.warnings.parser.RegexpParser
classifyIfEmpty, classifyWarning, findAnnotations, getLineNumber, getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavacParser

public JavacParser()
Creates a new instance of JavacParser.

Method Detail

createWarning

protected Warning createWarning(java.util.regex.Matcher matcher)
Creates a new annotation for the specified pattern.

Specified by:
createWarning in class RegexpParser
Parameters:
matcher - the regular expression matcher
Returns:
a new annotation for the specified pattern


Copyright © 2009. All Rights Reserved.