Package edu.hm.hafner.analysis.registry
Class DryDescriptor
- java.lang.Object
-
- edu.hm.hafner.analysis.registry.ParserDescriptor
-
- edu.hm.hafner.analysis.registry.DryDescriptor
-
public abstract class DryDescriptor extends ParserDescriptor
A descriptor for duplicate code parsers.- Author:
- Ullrich Hafner
-
-
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 StringHIGH_OPTION_KEYKey to define minimum number of duplicate lines for high priority warnings.static StringNORMAL_OPTION_KEYKey to define minimum number of duplicate lines for normal priority warnings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription(Issue issue)Returns a detailed description of the specified issue.-
Methods inherited from class edu.hm.hafner.analysis.registry.ParserDescriptor
createParser, getHelp, getIconUrl, getId, getName, getPattern, getUrl, hasHelp, hasUrl
-
-
-
-
Field Detail
-
HIGH_OPTION_KEY
public static final String HIGH_OPTION_KEY
Key to define minimum number of duplicate lines for high priority warnings.- See Also:
- Constant Field Values
-
NORMAL_OPTION_KEY
public static final String NORMAL_OPTION_KEY
Key to define minimum number of duplicate lines for normal priority warnings.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-