|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.util.model.AnnotationContainer
hudson.plugins.findbugs.util.model.MavenModule
public class MavenModule
A serializable Java Bean class representing a maven module.
| Constructor Summary | |
|---|---|
MavenModule()
Creates a new instance of MavenModule. |
|
MavenModule(java.lang.String moduleName)
Creates a new instance of MavenModule. |
|
| Method Summary | |
|---|---|
protected void |
annotationAdded(FileAnnotation annotation)
Creates the mapping of packages. |
int |
getAnnotationBound()
Gets the maximum number of tasks in a package of this module. |
java.lang.String |
getError()
Returns the error message for this module. |
WorkspaceFile |
getFile(java.lang.String fileName)
Returns the file with the given name. |
java.util.Collection<WorkspaceFile> |
getFiles()
Gets the files of this module that have annotations. |
java.lang.String |
getName()
Returns the module name. |
JavaPackage |
getPackage(java.lang.String packageName)
Gets the package with the given name. |
java.util.Collection<JavaPackage> |
getPackages()
Gets the packages of this module that have annotations. |
boolean |
hasError()
Return whether this module has an error message stored. |
void |
setError(java.lang.String error)
Sets an error message that denotes that the creation of the module has been failed. |
void |
setName(java.lang.String name)
Sets the name of this module. |
| Methods inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackageCategoryName, 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 MavenModule()
MavenModule.
public MavenModule(java.lang.String moduleName)
MavenModule.
moduleName - name of the module| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of this moduleprotected void annotationAdded(FileAnnotation annotation)
annotationAdded in class AnnotationContainerannotation - the added annotationpublic java.util.Collection<JavaPackage> getPackages()
public JavaPackage getPackage(java.lang.String packageName)
packageName - the name of the package
public java.util.Collection<WorkspaceFile> getFiles()
public WorkspaceFile getFile(java.lang.String fileName)
fileName - the file name
public int getAnnotationBound()
public void setError(java.lang.String error)
error - the error messagepublic boolean hasError()
true if this module has an error message stored.public java.lang.String getError()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||