|
||||||||||
| 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.JavaProject
public class JavaProject
A serializable Java Bean class representing a project that has been built by Hudson.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
|---|
AnnotationContainer.Hierarchy |
| Constructor Summary | |
|---|---|
JavaProject()
Creates a new instance of JavaProject. |
|
| Method Summary | |
|---|---|
void |
addError(java.lang.String additionalError)
Appends the error message to the project error messages. |
void |
addModule(MavenModule module)
Adds the specified module with its annotations to this project. |
void |
addModules(java.util.Collection<MavenModule> modules)
Adds the specified modules with their annotations to this project. |
protected java.util.Collection<? extends AnnotationContainer> |
getChildren()
Returns the children containers of this container. |
java.lang.String |
getError()
Returns the error message that denotes that why project creation has been failed. |
java.lang.String |
getWorkspacePath()
Returns the root path of the workspace files. |
boolean |
hasError()
Returns whether a module with an error is part of this project. |
void |
setError(java.lang.String error)
Sets the error message that denotes that why project creation has been failed. |
void |
setWorkspacePath(java.lang.String workspacePath)
Sets the root path of the workspace files. |
| Methods inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, containsCategory, containsFile, containsModule, containsPackage, containsType, getAnnotation, getAnnotation, getAnnotationBound, getAnnotations, getAnnotations, getAnnotations, getCategories, getCategory, getContainer, getFile, getFiles, getHighAnnotations, getLowAnnotations, getModule, getModules, getName, getNormalAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackageCategoryName, getPackages, getToolTip, getType, getTypes, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setHierarchy, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaProject()
JavaProject.
| Method Detail |
|---|
public void addModule(MavenModule module)
module - the module to addpublic void addModules(java.util.Collection<MavenModule> modules)
modules - the modules to addpublic void setWorkspacePath(java.lang.String workspacePath)
workspacePath - path to workspacepublic java.lang.String getWorkspacePath()
public boolean hasError()
true if at least one module has an error.public void setError(java.lang.String error)
error - the new error messagepublic void addError(java.lang.String additionalError)
additionalError - the new error message to addpublic java.lang.String getError()
protected java.util.Collection<? extends AnnotationContainer> getChildren()
getChildren in class AnnotationContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||