]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompilerPreferences.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / GraphCompilerPreferences.java
diff --git a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompilerPreferences.java b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompilerPreferences.java
new file mode 100644 (file)
index 0000000..9c75b85
--- /dev/null
@@ -0,0 +1,16 @@
+package org.simantics.graph.compiler;\r
+\r
+public class GraphCompilerPreferences {\r
+       public boolean        validate = false;\r
+       public ValidationMode validateRelationRestrictions = ValidationMode.IGNORE;\r
+       public ValidationMode validateResourceHasType = ValidationMode.IGNORE;\r
+       \r
+       @Override\r
+       public String toString() {\r
+           StringBuilder b = new StringBuilder();\r
+           b.append("validate = " + validate + "\n");\r
+           b.append("validateRelationRestrictions = " + validateRelationRestrictions + "\n");\r
+           b.append("validateResourceHasType = " + validateResourceHasType + "\n");\r
+           return b.toString();\r
+       }\r
+}\r