|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.continuum.xmlrpc.project.AddingResult
public class AddingResult
This class is the result of add maven project action.
Constructor Summary | |
---|---|
AddingResult()
|
Method Summary | |
---|---|
void |
addError(String errorKey)
Add an error that happened during adding the project to Continuum. |
void |
addProject(ProjectSummary projectSummary)
Method addProject. |
void |
addProjectGroup(ProjectGroupSummary projectGroupSummary)
Method addProjectGroup. |
List |
getErrors()
Get the errors that happened during adding the project to Continuum. |
String |
getErrorsAsString()
Returns a string representation of the errors. |
List<ProjectGroupSummary> |
getProjectGroups()
Method getProjectGroups. |
List<ProjectSummary> |
getProjects()
Method getProjects. |
boolean |
hasErrors()
Quick check to see if there are any errors. |
void |
removeProject(ProjectSummary projectSummary)
Method removeProject. |
void |
removeProjectGroup(ProjectGroupSummary projectGroupSummary)
Method removeProjectGroup. |
void |
setProjectGroups(List<ProjectGroupSummary> projectGroups)
Set the projectGroups field. |
void |
setProjects(List<ProjectSummary> projects)
Set the projects field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddingResult()
Method Detail |
---|
public void addProject(ProjectSummary projectSummary)
projectSummary
- public void addProjectGroup(ProjectGroupSummary projectGroupSummary)
projectGroupSummary
- public List<ProjectGroupSummary> getProjectGroups()
public List<ProjectSummary> getProjects()
public void removeProject(ProjectSummary projectSummary)
projectSummary
- public void removeProjectGroup(ProjectGroupSummary projectGroupSummary)
projectGroupSummary
- public void setProjectGroups(List<ProjectGroupSummary> projectGroups)
projectGroups
- public void setProjects(List<ProjectSummary> projects)
projects
- public void addError(String errorKey)
errorKey
- error id (so it can be internationalized later)public List getErrors()
List
< String
>public boolean hasErrors()
public String getErrorsAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |