|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.analysis.javadoc.CollectorContext
public class CollectorContext
The context of a collector execution. Since arguments cannot be passed to the Javadoc tool, communication happens over static context. This context instance is expected to be places in a static context (i.e. singleton). It is not the singleton, but an instance to be managed by a static context.
This implementation is not thread-safe.
Constructor Summary | |
---|---|
CollectorContext(Filter filter) Convenience constructor if no class loader needs to be specified. |
|
CollectorContext(Filter filter, ClassLoader projectClassLoader) Default constructor. |
Method Summary | |
---|---|
Filter |
getFilter() Returns the filter used by the doclet to remove found Javadoc information. |
ClassLoader |
getProjectClassLoader() Returns the class loader to use for the Javadoc tool if not null . |
List<com.sun.javadoc.Doc> |
getResult() Returns the result of the collection of Javadoc information collected by the doclet. |
void |
setResult(List<com.sun.javadoc.Doc> result) Sets the result of the collection of Javadoc information collected by the doclet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectorContext(Filter filter, ClassLoader projectClassLoader) throws NullPointerException
filter
- the filter used by the doclet to remove found Javadoc information.
projectClassLoader
- the class loader to use for the Javadoc tool if not
null
.
NullPointerException
- if the
filter
is
null
.
public CollectorContext(Filter filter) throws NullPointerException
filter
- the filter used by the doclet to remove found Javadoc information.
NullPointerException
- if the
filter
is
null
.
Method Detail |
---|
public Filter getFilter()
result
.
public ClassLoader getProjectClassLoader()
null
.
null
.
public List<com.sun.javadoc.Doc> getResult()
Javadoc information
collected by the doclet.
Javadoc information
collected by the doclet.
public void setResult(List<com.sun.javadoc.Doc> result)
Javadoc information
collected by the doclet.
result
- the result of the collection of
Javadoc information
collected by the doclet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |