Package org.topbraid.shacl.util
Class SHACLPreferences
- java.lang.Object
-
- org.topbraid.shacl.util.SHACLPreferences
-
public class SHACLPreferences extends Object
Manages global preferences related to SHACL processing.- Author:
- Holger Knublauch
-
-
Constructor Summary
Constructors Constructor Description SHACLPreferences()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisProduceFailuresMode()Checks if any Exceptions thrown during validation shall be wrapped into dash:FailureResults.static voidsetProduceFailuresMode(boolean value)
-
-
-
Method Detail
-
isProduceFailuresMode
public static boolean isProduceFailuresMode()
Checks if any Exceptions thrown during validation shall be wrapped into dash:FailureResults. This might be useful for debugging and is default in TopBraid Composer. If false (default), Exceptions halt the engine altogether.- Returns:
- true if failures should be produced
-
setProduceFailuresMode
public static void setProduceFailuresMode(boolean value)
-
-