|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.model.AnnotationContainer
hudson.plugins.checkstyle.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)
Gets the file with the given name. |
java.util.Collection<WorkspaceFile> |
getFiles()
Gets the files of this container that have annotations. |
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. |
| Methods inherited from class hudson.plugins.checkstyle.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, addFile, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getName, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackageCategoryName, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MavenModule()
MavenModule. File handling is
performed in this class since the files are already mapped in the modules
of this project.
public MavenModule(java.lang.String moduleName)
MavenModule.
moduleName - name of the module| Method Detail |
|---|
protected 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()
getFiles in class AnnotationContainerpublic WorkspaceFile getFile(java.lang.String fileName)
getFile in class AnnotationContainerfileName - the short name of the file
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 | |||||||||