]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/CompilationResult.java
c7d63f41e25ec268bd45b61c7f6afcaa2d295479
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / CompilationResult.java
1 package org.simantics.graph.compiler;
2
3 import java.util.Collection;
4
5 import org.simantics.graph.IResourceFile;
6 import org.simantics.graph.representation.TransferableGraph1;
7 import org.simantics.ltk.Problem;
8
9 /**
10  * Result of invoking GraphCompiler.compile.
11  * @author Hannu Niemistö
12  */
13 public class CompilationResult {
14         TransferableGraph1 graph;
15         Collection<Problem> errors;
16         Collection<Problem> warnings;
17         Collection<IResourceFile> resourceFiles;
18         SourceInfo sourceInfo;
19                 
20         public TransferableGraph1 getGraph() {
21                 return graph;
22         }
23         
24         public Collection<Problem> getErrors() {
25                 return errors;
26         }
27         
28         public Collection<Problem> getWarnings() {
29                 return warnings;
30         }
31         
32         public Collection<IResourceFile> getResourceFiles() {
33                 return resourceFiles;
34         }
35         
36         public SourceInfo getSourceInfo() {
37                 return sourceInfo;
38         }
39 }