Package edu.hm.hafner.analysis.registry
Class FindBugsDescriptor
java.lang.Object
edu.hm.hafner.analysis.registry.ParserDescriptor
edu.hm.hafner.analysis.registry.FindBugsDescriptor
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
FieldsModifier and TypeFieldDescriptionstatic final StringKey to define minimum number of duplicate lines for high priority warnings. -
Method Summary
Modifier and TypeMethodDescriptioncreateParser(ParserDescriptor.Option... options) Creates a newIssueParserinstance.getDescription(Issue issue) Returns a detailed description of the specified issue.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 Details
-
PRIORITY_OPTION_KEY
Key to define minimum number of duplicate lines for high priority warnings.- See Also:
-
-
Method Details
-
createParser
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
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
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
-