1 package cz
.cvut
.promod
.services
.projectService
.results
;
3 import cz
.cvut
.promod
.services
.projectService
.treeProjectNode
.ProjectRoot
;
8 * ProMod, master thesis project
9 * User: Petr Zverina, petr.zverina@gmail.com
10 * Date: 23:32:57, 8.2.2010
14 * Class for representing a return value of loadProject(String) method defined in ProjectControlService interface.
16 * If the ProjectRoot and event the message are null, it was not possible to load file. Possible reason is not valid
19 public class LoadProjectResult
{
21 private final ProjectRoot projectRoot
;
23 private final List
<ConfigurationDifference
> messages
;
26 public LoadProjectResult(final ProjectRoot projectRoot
, final List
<ConfigurationDifference
> messages
) {
27 this.projectRoot
= projectRoot
;
28 this.messages
= messages
;
32 * Returns the project root.
34 * @return the loaded project root.
36 public ProjectRoot
getProjectRoot() {
41 * Returns list of messages about ProMod configuration differences.
43 * @return list of messages about ProMod configuration differences
45 public List
<ConfigurationDifference
> getMessages() {