Class SimpleGroovyPackageDoc
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc
org.codehaus.groovy.tools.groovydoc.SimpleGroovyPackageDoc
- All Implemented Interfaces:
- java.lang.Comparable,- GroovyDoc,- GroovyPackageDoc
public class SimpleGroovyPackageDoc extends SimpleGroovyDoc implements GroovyPackageDoc
- 
Field SummaryFields inherited from class org.codehaus.groovy.tools.groovydoc.SimpleGroovyDocANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, TRAIT_DEF
- 
Constructor SummaryConstructors Constructor Description SimpleGroovyPackageDoc(java.lang.String name)
- 
Method SummaryModifier and Type Method Description GroovyClassDoc[]allClasses()All included classes and interfaces in this package.GroovyClassDoc[]allClasses(boolean arg0)All classes and interfaces in this package optionally limited to just the included ones.java.lang.Stringdescription()Description of the package.GroovyClassDoc[]enums()Included enum types in this package.GroovyClassDoc[]errors()Included errors in this package.GroovyClassDoc[]exceptions()Included exceptions in this package.GroovyClassDocfindClass(java.lang.String arg0)Find a class or interface within this package.java.lang.StringgetRelativeRootPath()GroovyClassDoc[]interfaces()Included interfaces in this package.java.lang.StringnameWithDots()GroovyClassDoc[]ordinaryClasses()Included ordinary classes in this package.voidputAll(java.util.Map<java.lang.String,GroovyClassDoc> classes)voidsetDescription(java.lang.String description)voidsetSummary(java.lang.String summary)java.lang.Stringsummary()The one-sentence summary for the package derived from the beginning of the description.Methods inherited from class org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoccalculateFirstSentence, commentText, compareTo, firstSentenceCommentText, getRawCommentText, getTypeDescription, getTypeSourceDescription, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, isScript, isTrait, name, setCommentText, setDeprecated, setFirstSentenceCommentText, setRawCommentText, setScript, setTokenType, tags, tokenType, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.ComparablecompareToMethods inherited from interface org.codehaus.groovy.groovydoc.GroovyDoccommentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, setRawCommentText
- 
Constructor Details- 
SimpleGroovyPackageDocpublic SimpleGroovyPackageDoc(java.lang.String name)
 
- 
- 
Method Details- 
allClassesDescription copied from interface:GroovyPackageDocAll included classes and interfaces in this package.- Specified by:
- allClassesin interface- GroovyPackageDoc
- Returns:
- array of classes and interfaces found or empty array if none found
 
- 
setDescriptionpublic void setDescription(java.lang.String description)
- 
setSummarypublic void setSummary(java.lang.String summary)
- 
putAll
- 
nameWithDotspublic java.lang.String nameWithDots()- Specified by:
- nameWithDotsin interface- GroovyPackageDoc
 
- 
allClassesDescription copied from interface:GroovyPackageDocAll classes and interfaces in this package optionally limited to just the included ones.- Specified by:
- allClassesin interface- GroovyPackageDoc
- Parameters:
- arg0- Specifying true filters according to the specified access modifier option. Specifying false includes all classes and interfaces regardless of access modifier option.
- Returns:
- array of classes and interfaces found or empty array if none found
 
- 
enumsDescription copied from interface:GroovyPackageDocIncluded enum types in this package.- Specified by:
- enumsin interface- GroovyPackageDoc
- Returns:
- array of enum types found or empty array if none found
 
- 
errorsDescription copied from interface:GroovyPackageDocIncluded errors in this package.- Specified by:
- errorsin interface- GroovyPackageDoc
- Returns:
- array of errors found or empty array if none found
 
- 
exceptionsDescription copied from interface:GroovyPackageDocIncluded exceptions in this package.- Specified by:
- exceptionsin interface- GroovyPackageDoc
- Returns:
- array of exceptions found or empty array if none found
 
- 
findClassDescription copied from interface:GroovyPackageDocFind a class or interface within this package.- Specified by:
- findClassin interface- GroovyPackageDoc
- Parameters:
- arg0- the name of the class to find
- Returns:
- ClassDoc of found class or interface, or null if not found
 
- 
interfacesDescription copied from interface:GroovyPackageDocIncluded interfaces in this package.- Specified by:
- interfacesin interface- GroovyPackageDoc
- Returns:
- array of interfaces found or empty array if none found
 
- 
ordinaryClassesDescription copied from interface:GroovyPackageDocIncluded ordinary classes in this package.- Specified by:
- ordinaryClassesin interface- GroovyPackageDoc
- Returns:
- array of ordinary classes (non-interface, non-enum, non-throwable classes) found or empty array if none found
 
- 
descriptionpublic java.lang.String description()Description copied from interface:GroovyPackageDocDescription of the package.- Specified by:
- descriptionin interface- GroovyPackageDoc
- Returns:
- the description
 
- 
summarypublic java.lang.String summary()Description copied from interface:GroovyPackageDocThe one-sentence summary for the package derived from the beginning of the description.- Specified by:
- summaryin interface- GroovyPackageDoc
- Returns:
- the summary
 
- 
getRelativeRootPathpublic java.lang.String getRelativeRootPath()- Specified by:
- getRelativeRootPathin interface- GroovyPackageDoc
 
 
-