Package org.topbraid.shacl.util
Class SHACLPreferences
java.lang.Object
org.topbraid.shacl.util.SHACLPreferences
Manages global preferences related to SHACL processing.
- Author:
- Holger Knublauch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if any Exceptions thrown during validation shall be wrapped into dash:FailureResults.static voidsetProduceFailuresMode(boolean value)
-
Constructor Details
-
SHACLPreferences
public SHACLPreferences()
-
-
Method Details
-
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)
-