Class NotesMacro
java.lang.Object
org.apache.maven.doxia.macro.AbstractMacro
com.puppycrawl.tools.checkstyle.site.NotesMacro
- All Implemented Interfaces:
 org.apache.maven.doxia.logging.LogEnabled,org.apache.maven.doxia.macro.Macro
@Component(role=org.apache.maven.doxia.macro.Macro.class,
           hint="notes")
public class NotesMacro
extends org.apache.maven.doxia.macro.AbstractMacro
A macro that inserts a notes subsection of module from its Javadoc.
- 
Field Summary
FieldsFields inherited from interface org.apache.maven.doxia.macro.Macro
EOL, ROLE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.apache.maven.doxia.sink.Sink sink, org.apache.maven.doxia.macro.MacroRequest request) private static intgetNotesEndIndex(DetailNode moduleJavadoc, Set<String> propertyNamesSet) Gets the end index of the Notes.Methods inherited from class org.apache.maven.doxia.macro.AbstractMacro
enableLogging, getAttributesFromMap, getLog, required 
- 
Field Details
- 
NOTES_LINE_WITH_NEWLINE
"Notes:" line with new line accounted. 
 - 
 - 
Constructor Details
- 
NotesMacro
public NotesMacro() 
 - 
 - 
Method Details
- 
execute
public void execute(org.apache.maven.doxia.sink.Sink sink, org.apache.maven.doxia.macro.MacroRequest request) throws org.apache.maven.doxia.macro.MacroExecutionException - Throws:
 org.apache.maven.doxia.macro.MacroExecutionException
 - 
getNotesEndIndex
Gets the end index of the Notes.- Parameters:
 moduleJavadoc- javadoc of module.propertyNamesSet- Set with property names.- Returns:
 - the end index.
 
 
 -