|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.model.AnnotationContainer
hudson.plugins.pmd.util.model.JavaPackage
public class JavaPackage
A serializable Java Bean class representing a Java package.
| Constructor Summary | |
|---|---|
JavaPackage(java.lang.String packageName)
Creates a new instance of JavaPackage. |
|
| Method Summary | |
|---|---|
protected void |
annotationAdded(FileAnnotation annotation)
Creates the mapping of files. |
WorkspaceFile |
getFile(java.lang.String fileName)
Gets the file with the given name. |
java.util.Collection<WorkspaceFile> |
getFiles()
Gets the files of this package that have annotations. |
java.lang.String |
getName()
Returns the name of this package. |
| Methods inherited from class hudson.plugins.pmd.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildPriorities |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaPackage(java.lang.String packageName)
JavaPackage.
packageName - the name of this package| Method Detail |
|---|
public java.lang.String getName()
protected void annotationAdded(FileAnnotation annotation)
annotationAdded in class AnnotationContainerannotation - the added annotationpublic java.util.Collection<WorkspaceFile> getFiles()
public WorkspaceFile getFile(java.lang.String fileName)
fileName - the short name of the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||