Package org.jboss.windup.tooling.data
Interface Hint
-
- All Superinterfaces:
Serializable
public interface Hint extends Serializable
This is equivalent to aInlineHintModel, however it contains no dependencies on having an open instance of the graph in order to operate.- Author:
- Jesse Sightler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumn()This contains the column number within that line.intgetEffort()This contains the effort level as an integer (Story Points).FilegetFile()StringgetHint()This contains descriptive text describing the problem and how the problem can be solved.ObjectgetID()Contains a unique identifier for this hint.IssueCategorygetIssueCategory()This is a hint as to the severity of the problem.intgetLength()This contains the length of the code section being referenced.intgetLineNumber()This contains the line number of the problem.List<Link>getLinks()This contains a list ofLinks for further information about the problem and its solution.Iterable<Quickfix>getQuickfixes()This contains a list ofQuickfixs for follow up in toolsStringgetRuleID()This contains the id of the rule that produced thisClassification.StringgetSourceSnippit()This contains the original source code itself (for example, "proprietaryobject.doStuff()").StringgetTitle()Contains a title for this hint.
-
-
-
Method Detail
-
getID
Object getID()
Contains a unique identifier for this hint.
-
getFile
File getFile()
-
getTitle
String getTitle()
Contains a title for this hint. This should describe the problem itself (for example, "Usage of proprietary class: Foo")
-
getHint
String getHint()
This contains descriptive text describing the problem and how the problem can be solved.
-
getIssueCategory
IssueCategory getIssueCategory()
This is a hint as to the severity of the problem. This may be used for supplying an icon or glyph in the report to the user.
-
getEffort
int getEffort()
This contains the effort level as an integer (Story Points). This is based on the Scrum "modified-Fibonacci" system of effort estimation.
-
getLinks
List<Link> getLinks()
This contains a list ofLinks for further information about the problem and its solution.
-
getQuickfixes
Iterable<Quickfix> getQuickfixes()
This contains a list ofQuickfixs for follow up in tools- Returns:
-
getLineNumber
int getLineNumber()
This contains the line number of the problem.
-
getColumn
int getColumn()
This contains the column number within that line.
-
getLength
int getLength()
This contains the length of the code section being referenced. For example, if the original code was "f.a()", this would be be "5".
-
getSourceSnippit
String getSourceSnippit()
This contains the original source code itself (for example, "proprietaryobject.doStuff()").
-
getRuleID
String getRuleID()
This contains the id of the rule that produced thisClassification.
-
-