Class FileReport
java.lang.Object
org.codehaus.mojo.taglist.beans.FileReport
- All Implemented Interfaces:
Comparable<FileReport>
Report for a file.
- Author:
- Fabrice Bellingard
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComment(String comment, int lineIndex) Adds a new entry to the list of tags found for this file report.intbooleanReturns the complete name of the analyzed class, for instance: org.codehaus.mojo.taglist.beans.FileReport.Returns the path corresponding to the analyzed class, for instance: org/apache/maven/plugins/taglist/beans/FileReport.getComment(Integer lineIndex) Returns the comment for the corresponding line index.Returns the list of the comment line indexes.inthashCode()
-
Constructor Details
-
FileReport
-
-
Method Details
-
addComment
Adds a new entry to the list of tags found for this file report.- Parameters:
comment- the comment string containing the 'todo'.lineIndex- the line number of the comment (or first line if multi-lined).
-
getClassNameWithSlash
Returns the path corresponding to the analyzed class, for instance: org/apache/maven/plugins/taglist/beans/FileReport.- Returns:
- the file path.
-
getClassName
Returns the complete name of the analyzed class, for instance: org.codehaus.mojo.taglist.beans.FileReport.- Returns:
- the full class name.
-
getLineIndexes
Returns the list of the comment line indexes.- Returns:
- Collection of Integer.
-
getComment
-
compareTo
- Specified by:
compareToin interfaceComparable<FileReport>- See Also:
-
equals
-
hashCode
-