Package edu.hm.hafner.analysis.registry
Class FindBugsDescriptor
- java.lang.Object
-
- edu.hm.hafner.analysis.registry.ParserDescriptor
-
- edu.hm.hafner.analysis.registry.FindBugsDescriptor
-
public class FindBugsDescriptor extends ParserDescriptor
A descriptor for the FindBugs parser.- Author:
- Lorenz Munsch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.hm.hafner.analysis.registry.ParserDescriptor
ParserDescriptor.Option
-
-
Field Summary
Fields Modifier and Type Field Description static StringPRIORITY_OPTION_KEYKey to define minimum number of duplicate lines for high priority warnings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IssueParsercreateParser(ParserDescriptor.Option... options)Creates a newIssueParserinstance.StringgetDescription(Issue issue)Returns a detailed description of the specified issue.StringgetPattern()Returns the default filename pattern for this tool.-
Methods inherited from class edu.hm.hafner.analysis.registry.ParserDescriptor
getHelp, getIconUrl, getId, getName, getUrl, hasHelp, hasUrl
-
-
-
-
Field Detail
-
PRIORITY_OPTION_KEY
public static final String PRIORITY_OPTION_KEY
Key to define minimum number of duplicate lines for high priority warnings.- See Also:
- Constant Field Values
-
-
Method Detail
-
createParser
public IssueParser createParser(ParserDescriptor.Option... options)
Description copied from class:ParserDescriptorCreates a newIssueParserinstance.- Specified by:
createParserin classParserDescriptor- Parameters:
options- options to configure the parser - may customize the new parser instance (if supported by the selected tool)- Returns:
- the parser
-
getPattern
public String getPattern()
Description copied from class:ParserDescriptorReturns the default filename pattern for this tool. Override if your parser typically works on a specific file. This pattern will be interpreted as an ANT pattern or glob, resp.- Overrides:
getPatternin classParserDescriptor- Returns:
- the default pattern
-
getDescription
public String getDescription(Issue issue)
Description copied from class:ParserDescriptorReturns a detailed description of the specified issue. If there is no additional description is available, then an empty String is returned.- Overrides:
getDescriptionin classParserDescriptor- Parameters:
issue- the issue to get the description for- Returns:
- the description
-
-