|
Copyright (C) 2002, Patrick Tullmann <taglets@tullmann.org> | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.tullmann.taglets.ListTag | +--org.tullmann.taglets.ReviewedBy
A Taglet that defines the @reviewedby
tag for Javadoc
comments. The ReviewedBy taglet is customizable and handles
multiple entries cleanly.
@reviewedby <name> <date> [notes ...]Indicate a code review for the associated class/interface was completed by a reviewer.
name
is a unique name for a
reviewer (for example, an appropriate login name). The
date
is a YYYY/MM/DD
style date string.
Each must be a single token. Any [notes ...]
are
optional.
@reviewedby
is only recognized on class/interface
level comments.
HTML in the generated javadoc can include provided reviews, missing reviews, or both. For provided reviews, a full or compact format is supported.
The set of expected IDs and due dates are set via JDK1.4
java.util.prefs
preferences. See below for a
description of the preferences.
See the generated javadoc below for an example of what this might look like.
Main node is org.tullmann.taglets.reviewedby
:
register(java.util.Map)
. See PatsReviewedBy
.
PrefHack
for a simple mechanism to set these preferences.
javadoc
with a -tagletpath
that
points to the compiled version of this class (and its dependents)
and pass -taglet org.tullmann.taglets.ReviewedBy
to
javadoc. That will cause the @reviewedby
tag to be
registered.
Implement customization |
User | Date | Comment |
---|---|---|
tullmann |
March 31, 2002 | |
bubbles |
March 1, 2002 | Woo! |
Missing Reviews: |
Field Summary |
Fields inherited from class org.tullmann.taglets.ListTag |
ORDERED_LIST, TABLE_LIST, tagPrefs, UNORDERED_LIST, VISIBLETABLE_LIST |
Constructor Summary | |
ReviewedBy()
|
|
ReviewedBy(java.lang.String projectName)
Create a new ListTag, with tag name 'reviewedby'. |
Method Summary | |
protected void |
emitCustomFooter(java.lang.StringBuffer sbuf,
boolean multi)
Override |
protected void |
emitCustomHeader(java.lang.StringBuffer sbuf,
boolean multi)
Override |
protected void |
endingTags(java.lang.StringBuffer sbuf)
|
protected void |
forceCustomDefaultPrefs(org.tullmann.taglets.TagPrefs tagPrefs)
|
boolean |
inConstructor()
|
boolean |
inField()
|
boolean |
inMethod()
|
boolean |
inOverview()
|
boolean |
inPackage()
|
boolean |
inType()
|
boolean |
isInlineTag()
|
protected void |
parseTagText(java.lang.StringBuffer sbuf,
java.lang.String text,
boolean multi)
Override parsing of tag text to pull out table stuff. |
static void |
register(java.util.Map tagletMap)
|
protected void |
startingTags()
|
Methods inherited from class org.tullmann.taglets.ListTag |
emitFooter, emitHeader, emitTag, forceColorPrefs, formatText, getName, register, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReviewedBy()
public ReviewedBy(java.lang.String projectName)
Method Detail |
public static void register(java.util.Map tagletMap)
protected void startingTags()
startingTags
in class ListTag
protected void endingTags(java.lang.StringBuffer sbuf)
endingTags
in class ListTag
protected void forceCustomDefaultPrefs(org.tullmann.taglets.TagPrefs tagPrefs)
forceCustomDefaultPrefs
in class ListTag
protected void emitCustomHeader(java.lang.StringBuffer sbuf, boolean multi)
emitCustomHeader
in class ListTag
protected void emitCustomFooter(java.lang.StringBuffer sbuf, boolean multi)
emitCustomFooter
in class ListTag
protected void parseTagText(java.lang.StringBuffer sbuf, java.lang.String text, boolean multi)
parseTagText
in class ListTag
public boolean isInlineTag()
isInlineTag
in interface com.sun.tools.doclets.Taglet
isInlineTag
in class ListTag
public boolean inField()
inField
in interface com.sun.tools.doclets.Taglet
inField
in class ListTag
public boolean inConstructor()
inConstructor
in interface com.sun.tools.doclets.Taglet
inConstructor
in class ListTag
public boolean inMethod()
inMethod
in interface com.sun.tools.doclets.Taglet
inMethod
in class ListTag
public boolean inType()
inType
in interface com.sun.tools.doclets.Taglet
inType
in class ListTag
public boolean inPackage()
inPackage
in interface com.sun.tools.doclets.Taglet
inPackage
in class ListTag
public boolean inOverview()
inOverview
in interface com.sun.tools.doclets.Taglet
inOverview
in class ListTag
|
See http://www.tullmann.org/pat/taglets/ for the latest and greatest version. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |