|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.documentation.DocumentationContext
class DocumentationContext extends java.lang.Object
Gathers information about the behavior a plugin adds at runtime.
Property Summary | |
---|---|
java.lang.String |
artefactType
|
java.lang.String |
currentDocumentation
|
java.util.List |
methods
|
java.util.List |
properties
|
java.util.List |
staticMethods
|
Method Summary | |
---|---|
DocumentationContext
|
document(java.lang.String doc)
Stores documentation for the next method or property to be added |
DocumentationContext
|
documentMethod(java.lang.String artefact, java.lang.Class type, java.lang.String name, java.lang.Class[] arguments)
Documents an instance method |
DocumentationContext
|
documentProperty(java.lang.String artefact, java.lang.Class type, java.lang.String name)
Documents a property |
DocumentationContext
|
documentStaticMethod(java.lang.String artefact, java.lang.Class type, java.lang.String name, java.lang.Class[] arguments)
Documents a static method |
static DocumentationContext
|
getInstance()
|
boolean
|
hasMetadata()
|
boolean
|
isActive()
|
void
|
reset()
|
void
|
setActive(boolean b)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
java.lang.String artefactType
java.lang.String currentDocumentation
java.util.List methods
java.util.List properties
java.util.List staticMethods
Method Detail |
---|
DocumentationContext document(java.lang.String doc)
@SuppressWarnings("rawtypes") DocumentationContext documentMethod(java.lang.String artefact, java.lang.Class type, java.lang.String name, java.lang.Class[] arguments)
DocumentationContext documentProperty(java.lang.String artefact, java.lang.Class type, java.lang.String name)
@SuppressWarnings("rawtypes") DocumentationContext documentStaticMethod(java.lang.String artefact, java.lang.Class type, java.lang.String name, java.lang.Class[] arguments)
static DocumentationContext getInstance()
boolean hasMetadata()
boolean isActive()
void reset()
void setActive(boolean b)
Groovy Documentation