|
||||||||||
| 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.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.pmd.util.model.AnnotationContainer |
|---|
AnnotationContainer.Hierarchy |
| Constructor Summary | |
|---|---|
JavaProject()
Creates a new instance of JavaProject. |
|
| Method Summary | |
|---|---|
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. |
java.util.List<java.lang.String> |
getErrors()
Returns the error messages recorded during creation of the project. |
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 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 java.util.List<java.lang.String> getErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||