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 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)