|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.apidoc.JavadocMessageConfig.Builder
public static final class JavadocMessageConfig.Builder
Builder for the configuration instance.
Constructor Summary | |
---|---|
JavadocMessageConfig.Builder() |
Method Summary | |
---|---|
JavadocMessageConfig |
build() The builder to create the configuration. |
void |
setBundle(ResourceBundle bundle) Sets the resource bundle to fetch messages to be rendered into the report. |
void |
setMessageFilter(Collection<String> messageFilter) Sets the list of message fragments that are used to filter messages. |
void |
setNoticeMessagesRendered(boolean noticeMessagesRendered) Sets the flag that indicates if notice messages should be rendered in the report ( true ) or if only error and warn messages are rendered ( false ). |
void |
setSourceRoots(Collection<String> sourceRoots) Sets the root directories in which the source files reside. |
void |
setXrefLocation(String xrefLocation) Sets the location where the XRef report is written to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavadocMessageConfig.Builder()
Method Detail |
---|
public void setBundle(ResourceBundle bundle)
bundle
- the resource bundle to fetch messages to be rendered into the report.
public void setXrefLocation(String xrefLocation)
xrefLocation
- the location where the XRef report is written to.
public JavadocMessageConfig build() throws IllegalArgumentException
IllegalArgumentException
- if the builder information does not meet the constraints.
public void setNoticeMessagesRendered(boolean noticeMessagesRendered)
true
) or if only error and warn messages are rendered (
false
).
noticeMessagesRendered
- the flag that indicates if notice messages should be rendered in the report (
true
) or if only error and warn messages are rendered (
false
).
public void setSourceRoots(Collection<String> sourceRoots)
sourceRoots
- the root directories in which the source files reside.
public void setMessageFilter(Collection<String> messageFilter)
messageFilter
- the list of message fragments that are used to filter messages.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |