hudson.plugins.warnings.parser
Class GnatParser

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

public class GnatParser
extends RegexpParser

A parser for the Gnat compiler warnings.

Author:
Bernhard Berger

Field Summary
 
Fields inherited from class hudson.plugins.warnings.parser.RegexpParser
DEPRECATION, PROPRIETARY_API
 
Constructor Summary
GnatParser()
          Creates a new instance of GnatParser.
 
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.RegexpParser
classifyWarning, getLineNumber, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnatParser

public GnatParser()
Creates a new instance of GnatParser.

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 © 2008. All Rights Reserved.