X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2FGraphCompilerPreferences.java;fp=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2FGraphCompilerPreferences.java;h=9c75b85f770e8402ae7457a7a5ede82202166034;hp=0000000000000000000000000000000000000000;hb=969bd23cab98a79ca9101af33334000879fb60c5;hpb=866dba5cd5a3929bbeae85991796acb212338a08 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 index 000000000..9c75b85f7 --- /dev/null +++ b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompilerPreferences.java @@ -0,0 +1,16 @@ +package org.simantics.graph.compiler; + +public class GraphCompilerPreferences { + public boolean validate = false; + public ValidationMode validateRelationRestrictions = ValidationMode.IGNORE; + public ValidationMode validateResourceHasType = ValidationMode.IGNORE; + + @Override + public String toString() { + StringBuilder b = new StringBuilder(); + b.append("validate = " + validate + "\n"); + b.append("validateRelationRestrictions = " + validateRelationRestrictions + "\n"); + b.append("validateResourceHasType = " + validateResourceHasType + "\n"); + return b.toString(); + } +}